def METHOD_NAME(node: exp.Expression) -> bool:
    parent = node.parent
    if isinstance(parent, exp.AggFunc) and node.arg_key == "this":
        return True
    if isinstance(parent, (exp.If, exp.Case)) and node.arg_key != "this":
        return METHOD_NAME(parent)
    if isinstance(parent, (exp.Binary, exp.Paren, exp.Distinct)):
        return METHOD_NAME(parent)
    return False