Sqlalchemy if a value in list of values