Return a name of the state or county, or, for other lowever levels, the
        name of the level type in the county.

        :return:

def geo_name(self):
        """
        Return a name of the state or county, or, for other lowever levels, the
        name of the level type in the county.

        :return:
        """
        if self.level == 'county':
            return str(self.county_name)

        elif self.level == 'state':
            return self.state_name

        else:
            if hasattr(self, 'county'):
                return "{} in {}".format(self.level,str(self.county_name))

            elif hasattr(self, 'state'):
                return "{} in {}".format(self.level, self.state_name)

            else:
                return "a {}".format(self.level)