public function existsList($listId) { // try and fetch the record try { $this->getList($listId); } catch (Exception $e) { return false; } // if we made it here, the record exists return true; }