code: def __content_type_matches(self, content_type, available_content_types):
          
  
          if content_type is None:
              return False
  
          if content_type in available_content_types:
              return True
  
          for available_content_type in available_content_types:
              if available_content_type in content_type:
                  return True
  
          return False
docs: Check if the given content type matches one of the available content types.
  
          Args:
              content_type (str): The given content type.
              available_content_types list(str): All the available content types.
  
          Returns:
              bool: True if a match was found, False otherwise.