code: def skip_if_asan_class(cls: TReturn) -> Optional[TReturn]:
      if is_asan_or_tsan():
          cls.__unittest_skip__ = True
          cls.__unittest_skip_why__ = (
              "Skipping test run since we are in ASAN mode."
          )
      return cls
  
imports: import ctypes
  import os
  import random
  import socket
  import time
  import unittest
  from contextlib import closing
  from functools import wraps
  from typing import Any, Callable, Dict, Optional, TypeVar
  import numpy
  import torch
  import torch.distributed
  from pyre_extensions import ParameterSpecification
  from torch import nn
label_desc: Use image node_id 6 for calling a global function with example usage: skip_if_asan_class(cls) and returns: cls