serverAvaliable property

bool serverAvaliable

if server is avaliable

Implementation

bool get serverAvaliable => (_stream != null);