'generated source for method checkConnected'

def checkConnected(self, host):

    if self.m_connected:
        self.m_anyWrapper.error(EClientErrors.NO_VALID_ID, EClientErrors.ALREADY_CONNECTED.code(), EClientErrors.ALREADY_CONNECTED.msg())
        return None
    if self.isNull(host):
        host = '127.0.0.1'
    return host
