def must_generate_value(name, type, ignored_template_inputs, spec_info, spec, ignore_template_numbers):
 if (ignore_template_numbers and (type == u'Number')):
  return False
 if (spec.xor and (spec.xor[0] != name)):
  return False
 if (u'an existing directory name' in spec_info):
  return False
 if ((u'a list' in spec_info) or (u'a tuple' in spec_info)):
  return False
 if (u'a dictionary' in spec_info):
  return False
 if (u"' or '" in spec_info):
  return False
 if (not ignored_template_inputs):
  return True
 return (not (name in ignored_template_inputs))

def must_generate_value ( name , type , ignored_template_inputs , spec_info , spec , ignore_template_numbers ) : if ( ignore_template_numbers and ( type == u'Number' ) ) : return False if ( spec . xor and ( spec . xor [ 0 ] != name ) ) : return False if ( u'an existing directory name' in spec_info ) : return False if ( ( u'a list' in spec_info ) or ( u'a tuple' in spec_info ) ) : return False if ( u'a dictionary' in spec_info ) : return False if ( u"' or '" in spec_info ) : return False if ( not ignored_template_inputs ) : return True return ( not ( name in ignored_template_inputs ) )
return true if a temporary value must be generated for this input .