class_docstr: The `_MockOptimizer` will be used inplace of an optimizer in the event that `None` is returned from
  :meth:`~lightning.pytorch.core.LightningModule.configure_optimizers`.
code: def load_state_dict(self, state_dict: Dict[Any, Any]) -> None:
      pass
  
imports: from contextlib import contextmanager
  from dataclasses import fields
  from typing import Any, Callable, Dict, Generator, List, Optional, Tuple, Union, overload
  from weakref import proxy
  import torch
  from torch import optim
  from torch.optim import Optimizer
  from typing_extensions import override
  import lightning.pytorch
  from lightning.fabric.utilities.types import Optimizable, ReduceLROnPlateau, _Stateful
  from lightning.pytorch.utilities.exceptions import MisconfigurationException
  from lightning.pytorch.utilities.model_helpers import is_overridden
  from lightning.pytorch.utilities.rank_zero import rank_zero_warn
  from lightning.pytorch.utilities.signature_utils import is_param_in_hook_signature
  from lightning.pytorch.utilities.types import LRSchedulerConfig, LRSchedulerTypeTuple
label_desc: Use image node_id 3 for calling the _MockOptimizer obj's underlying member method code with example usage: obj.load_state_dict(state_dict) without return types