<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def columns_are_indexed(self, columns):
 """ Checks if an index begins in the order of the given columns. :type columns: list :rtype: bool """

        for index in self._indexes.values():
            if index.spans_columns(columns):
                return True

        return False