def check_network_status(*args):
    """Check current network status, it will return True if
       current network is inactive, otherwise, return False
    """
    networkname, conn, logger = args
    net_list = conn.listNetworks()
    logger.debug('current active network list:')
    logger.debug(net_list)
    if networkname not in net_list:
        return True
    else:
        return False
