<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def __isListOfTexts(self, docs):
 """ Checks whether the input is a list of strings or Text-s; """

        return isinstance(docs, list) and \
               all(isinstance(d, (basestring, Text)) for d in docs)