'Return whether between index INDEX1 and index INDEX2 the
relation OP is satisfied. OP is one of <, <=, ==, >=, >, or !=.'

def compare(self, index1, op, index2):

    return self.tk.getboolean(self.tk.call(self._w, 'compare', index1, op, index2))
