code: def __isListOfLists(self, docs):
          
          return isinstance(docs, list) and \
                 all(self.__isListOfTexts(ds) for ds in docs)
docs: Checks whether the input is a list of list of strings/Text-s;