code: def _can_use_triton(a):
      if a.device.type == "cpu":
          return False
  
      if blocksparse_matmul is None:
          return False
  
      return True
  
imports: import logging
  import torch
  from xformers import _is_triton_available
  from xformers.ops import masked_matmul
label_desc: Use image node_id 1 for calling a global function with example usage: _can_use_triton(a) and returns: True, False, False