code: def is_device_accessible(self):
      return self in (MemoryType.device, MemoryType.managed)
  
file_path: cuml/python/cuml/internals/mem_type.py
imports: from enum import Enum, auto
  from cuml.internals.device_support import GPU_ENABLED
  from cuml.internals.safe_imports import cpu_only_import, gpu_only_import
label_desc: Use image node_id 5 for calling the MemoryType obj's underlying member method code with example usage: obj.is_device_accessible() and returns: unknown