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