checkIsIngredient function

Check is an ingredient