code: def getComponentStateForDevicePath(self, pchRenderModelName, pchComponentName, devicePath):
          
  
          fn = self.function_table.getComponentStateForDevicePath
          pState = RenderModel_ControllerMode_State_t()
          pComponentState = RenderModel_ComponentState_t()
          result = fn(pchRenderModelName, pchComponentName, devicePath, byref(pState), byref(pComponentState))
          return result, pState, pComponentState
docs: Use this to query information about the component, as a function of the controller state.
          * For dynamic controller components (ex: trigger) values will reflect component motions
          For static components this will return a consistent value independent of the VRControllerState_t
          * If the pchRenderModelName or pchComponentName is invalid, this will return false (and transforms will be set to identity).
          Otherwise, return true
          Note: For dynamic objects, visibility may be dynamic. (I.e., true/false will be returned based on controller state and controller mode state )