code: def security_label(self, name, description=None, color=None):
          
          label = SecurityLabel(name, description, color)
          for label_data in self._labels:
              if label_data.name == name:
                  label = label_data
                  break
          else:
              self._labels.append(label)
          return label
docs: Return instance of SecurityLabel.
  
          .. note:: The provided security label will be create if it doesn't exist. If the security
              label already exists nothing will be changed.
  
          Args:
              name (str): The value for this security label.
              description (str): A description for this security label.
              color (str): A color (hex value) for this security label.
  
          Returns:
              obj: An instance of SecurityLabel.