'Return true if the connection has been established.'

@property
def connected(self):

    return ((not self._closed) and (self._connection is not None) and self.transport.verify_connection(self._connection))
