code: public static boolean isEquipped(EntityPlayer player, ItemStack itemStack, EnumHand hand)
  	{
  		return isEquipped(player, itemStack != null ? itemStack.getItem() : null, hand);
  	}
docs: Checks if is the {@link Item} contained in the {@link ItemStack} is equipped for the player.
  
  @param player the player
  @param itemStack the item stack
  @return true, if is equipped