public bool Ping() { try { var ping = _book.Ping(); } catch (CommunicationException) { return(false); } return(true); }