function TF = isInputFeasible(this, X)
% TF(i) is true iff X(i,:) satisfies the bounds and XConstraintFcn.
%

%   Copyright 2016-2022 The MathWorks, Inc.

TF = all(bsxfun(@ge, X, this.PrivOptions.VarSpec.LBTrans), 2) & ...
    all(bsxfun(@le, X, this.PrivOptions.VarSpec.UBTrans), 2);
TF = TF & satisfiesXConstraint(this, X);
end
