Discipline used to be a huge deal for check swings, bit in competitive mode, it’s supposed to be input only; they toned it down in 20 or 21 because it was ridiculously easy to do. It’s basically for the most part a sim stat, like HR/9.
I heard back in the say that discipline also helped get calls on borderline pitches, but never had confirmation.