code: def gender(self, iso5218: bool = False,
                 symbol: bool = False) -> Union[str, int]:
          
          if iso5218:
              return self.random.choice([0, 1, 2, 9])
  
          if symbol:
              return self.random.choice(GENDER_SYMBOLS)
  
          return self.random.choice(self._data['gender'])
docs: Get a random gender.
  
          Get a random title of gender, code for the representation
          of human sexes is an international standard that defines a
          representation of human sexes through a language-neutral single-digit
          code or symbol of gender.
  
          :param iso5218:
              Codes for the representation of human sexes is an international
              standard (0 - not known, 1 - male, 2 - female, 9 - not applicable).
          :param symbol: Symbol of gender.
          :return: Title of gender.
  
          :Example:
              Male