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