def strict_loading(self) -> bool:
        """Determines how Lightning loads this model using `.load_state_dict(..., strict=model.strict_loading)`."""
        # We use None as the default internally to determine whether the user has set a value
        return self._strict_loading in (None, True)
Determines how Lightning loads this model using `.load_state_dict(..., strict=model.strict_loading)`.
src/lightning/pytorch/core/module.py