Checks whether a value is a valid StringConstraints object.
The value to check
true if value has valid optional constraints (model, minLength, maxLength, pattern, in, hasValue); false otherwise
value
model
minLength
maxLength
pattern
in
hasValue
Checks whether a value is a valid StringConstraints object.