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