public function aSiteNamed($site) { try { $this->iRun("terminus site:lookup {$site}"); } catch (TerminusException $e) { throw new \Exception("Your user does not have a site named {$site}."); } return true; }