code: def use_fused_attn(experimental: bool = False) -> bool:
      # NOTE: ONNX export cannot handle F.scaled_dot_product_attention as of pytorch 2.0
      if not _HAS_FUSED_ATTN or _EXPORTABLE:
          return False
      if experimental:
          return _USE_FUSED_ATTN > 1
      return _USE_FUSED_ATTN > 0
  
imports: import os
  import warnings
  from typing import Any, Optional
  import torch
label_desc: Use image node_id 4 for calling a global function with example usage: use_fused_attn(experimental) and returns: unknown, False, unknown