def default_not_in_transformer(row, lhs, rhs):
    """
    Performs the in check of the lhs is not in the rhs. If the lhs has an
    `is_not_in` method this is used, if not the `not in` operator is used.

    :param row: The row being checked (not used)
    :param lhs: The left hand side of the operator
    :param rhs: The right hand side of the operator

    :return: True if lhs is not in right, False otherwise
    """
    if hasattr(lhs, "is_not_in"):
        return lhs.is_not_in(rhs)
    else:
        return lhs not in rhs