CustomRecipeManager: slightly more efficient hasRecipe() implementation