Checks if the given pseudo-legal move is a capture.

def is_capture(self, move: Move) -> bool:
        """Checks if the given pseudo-legal move is a capture."""
        return bool(BB_SQUARES[move.to_square] & self.occupied_co[not self.turn]) or self.is_en_passant(move)