isRequired (Client API reference)
Returns a boolean value indicating whether the step is required in the business process flow.
Syntax
var stepIsRequired = stepObj.isRequired();
Returns
Type: Boolean.
Description: true if the step is marked as required in the Business Process Flow editor; false otherwise.