code: def is_available(cls) -> bool:
      if (
          cls.OPERATOR is None
          or cls.OPERATOR.__name__ == "no_such_operator"
      ):
          return False
      return True
  
imports: import inspect
  import os
  from dataclasses import dataclass
  from functools import wraps
  from typing import Any, Callable, Dict, List, Type, TypeVar, Union
  import torch
  from torch.torch_version import TorchVersion
  from typing_extensions import Annotated, get_args, get_origin
label_desc: Use image node_id 1 for calling the BaseOperator obj's underlying member method code with example usage: obj.is_available(cls) and returns: True, False