code: def is_available(self):
      return shared.cmd_opts.force_enable_xformers or (
          shared.xformers_available
          and torch.cuda.is_available()
          and (6, 0)
          <= torch.cuda.get_device_capability(shared.device)
          <= (9, 0)
      )
  
imports: from __future__ import annotations
  import math
  import psutil
  import platform
  import torch
  from torch import einsum
  from ldm.util import default
  from einops import rearrange
  from modules import shared, errors, devices, sub_quadratic_attention
  from modules.hypernetworks import hypernetwork
  import ldm.modules.attention
  import ldm.modules.diffusionmodules.model
  import sgm.modules.attention
  import sgm.modules.diffusionmodules.model
label_desc: Use image node_id 1 for calling the SdOptimizationXformers obj's underlying member method code with example usage: obj.is_available() and returns: unknown