Checks whether the button has metadata associated with the specified key.
True if the metadata contains the key, otherwise false.
The metadata key to check.