def METHOD_NAME(neutral: bool, children: tuple["Expr", ...]) -> "Operator":
    """
    Build an AND node or an OR node in a generic way, using the neutral element to
    distinguish between them.
    In other words, if `neutral` is true, build an AND node, otherwise build an OR
    node.
    """
    return And(children=children) if neutral else Or(children=children)