def ParseBool(text):
  if text in ('true', 't', '1'):
    return True
  elif text in ('false', 'f', '0'):
    return False
  else:
    raise ValueError('Expected "true" or "false".')
old_lambdef : LAMBDA varargslist COLON old_test
dataset/ETHPy150Open sklearn-theano/sklearn-theano/sklearn_theano/externals/google/protobuf/text_format.py/ParseBool--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_old_lambdef2