def _all_indexes_same(indexes):
first = indexes[<NUM_LIT:0>]<EOL>for index in indexes[<NUM_LIT:1>:]:<EOL><INDENT>if not first.equals(index):<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
Determine if all indexes contain the same elements.

Parameters
----------
indexes : list of Index objects

Returns
-------
bool
    True if all indexes contain the same elements, False otherwise.