code: def name(self, gender: Optional[Gender] = None) -> str:
          
          key = self._validate_enum(gender, Gender)
          names = self._data['names'].get(key)
          return self.random.choice(names)
docs: Generate a random name.
  
          :param gender: Gender's enum object.
          :return: Name.
  
          :Example:
              John.