def selectin ( table , field , value , complement = False ) : return select ( table , field , lambda v : v in value , complement = complement )
python equivelent to sql in
Select rows where the given field is a member of the given value .
def selectin(table, field, value, complement=False):
    """Select rows where the given field is a member of the given value."""

    return select(table, field, lambda v: v in value,
                  complement=complement)