def __recipe_in_inventory(recipe_id, userid): if MySQL.is_recipe_in_db(recipe_id, userid): return True else: return False