isOptional method

Whether the input attribute is optional.

 Syntax
 Returns