isMandatory() method

Syntax

boolean isMandatory ()