def METHOD_NAME(relpath, recipe):
    """Parse the recipe and make sure it's valid."""
    assert_is_instance(recipe, dict, "{}: recipe is not a dict".format(relpath))
    assert_in("Identifier", recipe, "{}: no Identifier key".format(relpath))
    assert_true(
        recipe["Identifier"].startswith(IDENTIFIER_PREFIX)
        or recipe["Identifier"] in IDENTIFIER_EXEMPTIONS,
        "{}: does not start with {}".format(relpath, IDENTIFIER_PREFIX),
    )
    assert_in("Input", recipe, "{}: no Input key".format(relpath))
    assert_in("Process", recipe, "{}: no Process key".format(relpath))
    assert_not_in(
        "ParentRecipeTrustInfo",
        recipe,
        "{}: has ParentRecipeTrustInfo key".format(relpath),
    )