parameters: (self, civ_id=-1)
return_statement: return False
docstring: Task groups are creatable if any unit in the group is creatable.
  
          :returns: True if any train location obj_id is greater than zero.
docstring_summary: Task groups are creatable if any unit in the group is creatable.
docstring_tokens: Task groups are creatable if any unit in the group is creatable .
function: def is_creatable(self, civ_id=-1):
          """
          Task groups are creatable if any unit in the group is creatable.
  
          :returns: True if any train location obj_id is greater than zero.
          """
          for unit in self.line:
              train_location_id = unit["train_location_id"].get_value()
              # -1 = no train location
              if train_location_id > -1:
                  return True
  
          return False
function_tokens: def is_creatable ( self , civ_id = - 1 ) : for unit in self . line : train_location_id = unit [ "train_location_id" ] . get_value ( ) # -1 = no train location if train_location_id > - 1 : return True return False