def get_power_state(self, task):
        client, blade_id = msftocs_common.get_client_info(
            task.node.driver_info)
        return POWER_STATES_MAP[client.get_blade_state(blade_id)]
a version of hasattr() that supports NetProxies
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/msftocs/power.py/MSFTOCSPower.get_power_state--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/Rpyc/Utils/Builtins.py/hasattr