code: def get_label(self, label_name):
          
          for label in self.get_labels():
              if label.name == label_name:
                  return label
docs: Return the user's label that has a given name.
  
          :param label_name: The name to search for.
          :type label_name: str
          :return: A label that has a matching name or ``None`` if not found.
          :rtype: :class:`pytodoist.todoist.Label`
  
          >>> from pytodoist import todoist
          >>> user = todoist.login('john.doe@gmail.com', 'password')
          >>> label = user.get_label('family')