code: def guess_content_kind(path=None, web_video_data=None, questions=None):
      
      # If there are any questions, return exercise
      if questions and len(questions) > 0:
          return content_kinds.EXERCISE
  
      # See if any files match a content kind
      if path:
          ext = os.path.splitext(path)[1][1:].lower()
          if ext in content_kinds.MAPPING:
              return content_kinds.MAPPING[ext]
          raise InvalidFormatException("Invalid file type: Allowed formats are {0}".format([key for key, value in content_kinds.MAPPING.items()]))
      elif web_video_data:
          return content_kinds.VIDEO
      else:
          return content_kinds.TOPIC
docs: guess_content_kind: determines what kind the content is
          Args:
              files (str or list): files associated with content
          Returns: string indicating node's kind