public boolean isOptional(final AttributeType attributeType){
  return optionalAttributes.contains(attributeType);
}

public boolean isOptional ( final AttributeType attributeType ) { return optionalAttributes . contains ( attributeType ) ; }
indicates whether the provided attribute type is included in the optional attribute list for this dit content rule .
