ContextMenuItem.isSeparator

bool isSeparator()

Checks whether item is a separator.

Returns

true is item is a separator or false otherwise