pocketmine\metadata\Metadatable::hasMetadata PHP Method

hasMetadata() public method

Tests to see whether the implementing object contains the given metadata value in its metadata store.
public hasMetadata ( string $metadataKey ) : boolean
$metadataKey string
return boolean
    public function hasMetadata($metadataKey);