code: def allInText(self, words, text):
          
          index = 0
          for word in words:
              index = text[index:].find(word)
              if index == -1:
                  return False
          return True
docs: This function checks, if all the words appear in the given order in the text.