detects if ship is there