def regexp_bool(regexp, flags=0):

  def transform_function(value):
    return bool(re.match(regexp, value, flags))

  return transform_function
Invoke list_insert() with policy is string
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/bulkload/transform.py/regexp_bool--crossover with--dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_insert.py/TestListInsert.test_neg_list_insert_policy_is_string