bool Returns false when the object cannot be reset, ie when it's not a lazy object
public function resetLazyObject() : bool { if (!isset($this->lazyObjectState) || Registry::$noInitializerState === $this->lazyObjectState->initializer) { return false; } unset($this->lazyObjectState->realInstance); return true; }