code: def _is_configurable_class(C) -> bool:
      return isinstance(C, type) and issubclass(
          C, (Configurable, ReplaceableBase)
      )
  
imports: import dataclasses
  import inspect
  import itertools
  import sys
  import warnings
  from collections import Counter, defaultdict
  from enum import Enum
  from functools import partial
  from typing import Any, Callable, Dict, get_args, get_origin, List, Optional, Tuple, Type, TypeVar, Union
  from omegaconf import DictConfig, OmegaConf, open_dict
label_desc: Use image node_id 4 for calling a global function with example usage: _is_configurable_class(C) and returns: unknown