

def is_variable_local(self, driver, prefix, name):
    'Check to see if the given variable is available locally on this process'
    if (driver not in self.is_variable_local_cache):
        self.is_variable_local_cache[driver] = {
            
        }
    if (name in self.is_variable_local_cache[driver]):
        return self.is_variable_local_cache[driver][name]
    if prefix:
        name = name[(len(prefix) + 1):]
    if prefix.endswith('workflow.itername'):
        dname = name.replace('workflow.itername', 'itername')
        is_local = driver.workflow._system.is_variable_local(dname)
    else:
        is_local = driver.workflow._system.is_variable_local(name)
    self.is_variable_local_cache[driver][name] = is_local
    return is_local

dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/casehandlers/hdf5case.py HDF5CaseRecorder.is_variable_local/VarMisuse@91/135 `name`->`prefix`