def test_sd_started_state(name, path=None):
 qstate = systemd_running_state(name, path=path)
 if (qstate in ('initializing', 'starting')):
  return False
 elif (qstate == ''):
  return None
 else:
  return True

def test_sd_started_state ( name , path = None ) : qstate = systemd_running_state ( name , path = path ) if ( qstate in ( 'initializing' , 'starting' ) ) : return False elif ( qstate == '' ) : return None else : return True
test if a systemd container is fully started path path to the container parent default: /var/lib/lxc .