def __gt__(self, other):
        if self.move.checkmate and not other.move.checkmate:
            return True
        if not self.move.checkmate and other.move.checkmate:
            return False
        if self.move.checkmate and other.move.checkmate:
            return False
        return other.pointAdvantage > self.pointAdvantage
dataset/ETHPy150Open marcusbuffett/command-line-chess/build/lib/chess/MoveNode.py/MoveNode.__gt__/swapped operands of `>`