public function isEqual($otherCust) { return !$otherCust instanceof Customer ? false : $this->id === $otherCust->id; }