code: def nationality(self, gender: Optional[Gender] = None) -> str:
          
          nationalities = self._data['nationality']
  
          # Separated by gender
          if isinstance(nationalities, dict):
              key = self._validate_enum(gender, Gender)
              nationalities = nationalities[key]
  
          return self.random.choice(nationalities)
docs: Get a random nationality.
  
          :param gender: Gender.
          :return: Nationality.
  
          :Example:
              Russian