code: def content_type(self, lst):
          
          value = []
          if isinstance(lst, str):
              ct = defines.Content_types[lst]
              self.add_content_type(ct)
          elif isinstance(lst, list):
              for ct in lst:
                  self.add_content_type(ct)
docs: Set the CoRE Link Format ct attribute of the resource.
  
          :param lst: the list of CoRE Link Format ct attribute of the resource