Implement ItemStack.hasMetadata(String key)