private bool IsRangeExist(List<Constraint> constraints) { return constraints.Any(c => c is RangeConstraint); }