hasSelection
Checks if this Format has the specified selection flags.
Return
Whether this Format has the specified selection flags.
Parameters
selection
The selection flags to check for, represented by a combination of values from C.SelectionFlags.