parameters: (self)
return_statement: return None
docstring: Stack buildings are creatable when their head building is creatable.
  
          Returns the group_id for a villager group if the head building is
          creatable, otherwise return None.
docstring_summary: Stack buildings are creatable when their head building is creatable.
docstring_tokens: Stack buildings are creatable when their head building is creatable .
function: def get_train_location_id(self):
          """
          Stack buildings are creatable when their head building is creatable.
  
          Returns the group_id for a villager group if the head building is
          creatable, otherwise return None.
          """
          if self.is_creatable():
              return self.head["train_location_id"].get_value()
  
          return None
function_tokens: def get_train_location_id ( self ) : if self . is_creatable ( ) : return self . head [ "train_location_id" ] . get_value ( ) return None