def default_in_transformer(row, lhs, rhs):
    """
    Performs the in check of the lhs in in the rhs. If the lhs has an `is_in`
    method this is used, if not the `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 in right, False otherwise
    """
    if hasattr(lhs, "is_in"):
        return lhs.is_in(rhs)
    else:
        return lhs in rhs