is_giftable(item) is not the same as item.gift. is_giftable returns true if the item can be kmailed, i.e. if it is either tradeable or a gift item.