<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def allInText(self, words, text):
 """ This function checks, if all the words appear in the given order in the text. """

        index = 0
        for word in words:
            index = text[index:].find(word)
            if index == -1:
                return False
        return True