code: def is_torch_lr_scheduler(cls):
      return is_strict_subclass(
          cls, torch.optim.lr_scheduler._LRScheduler
      ) or is_strict_subclass(cls, torch.optim.lr_scheduler.LRScheduler)
  
imports: import inspect
  import torch
label_desc: Use image node_id 3 for calling a global function with example usage: is_torch_lr_scheduler(cls) and returns: unknown