bool isOptional

Returns true if the reflectee is an optional parameter. Otherwise returns false.

Source

bool get isOptional;