OptionQ

WMA link


OptionQ[expr]

returns True if expr has the form of a valid option specification.

Examples of option specifications:

Options lists are flattened when are applied, so

OptionQ returns False if its argument is not a valid option
specification:

NotOptionQ
OptionValue