public function catchShip(Ship $ship) { // Squid can only catch the ship if the ship is // not powered off return !$ship->isPoweredOff(); }