hasMeta

Checks whether the button has metadata associated with the specified key.

Return

True if the metadata contains the key, otherwise false.

Parameters

key

The metadata key to check.