code: def continent(self, code: bool = False) -> str:
          
          codes = CONTINENT_CODES if \
              code else self._data['continent']
  
          return self.random.choice(codes)
docs: Get a random continent name or continent code.
  
          :param code: Return code of continent.
          :return: Continent name.