def METHOD_NAME(builtin_name):
    if builtin_name.endswith("Error") or builtin_name.endswith("Exception"):
        return True
    elif builtin_name in (
        "StopIteration",
        "GeneratorExit",
        "SystemExit",
        "NotImplemented",
        "KeyboardInterrupt",
        "StopAsyncIteration",
    ):
        return True
    else:
        return False