Implement functional isHit to check whether something has been hit.

Allows to display a splash when a shot at a ship has missed its target, but an explosion when it hits the target.