def METHOD_NAME(self, nodename=None):
    cmd = ['VBoxManage', 'list', 'runningvms']
    if nodename is not None:
        cmd = Env.rsh.split() + [nodename] + cmd
    (ret, out, err) = self.call(cmd)
    if ret != 0:
        return None
    for line in out.split('\n'):
        l = line.split('"')
        if len(l) < 2:
            continue
        if l[1] == self.name:
            return 'on'
    return 'off'