isInitialized() public method

Checks if the framework has been initialized.
public isInitialized ( ) : boolean
return boolean
 /**
  * Forwards the request to the Frontend class if there is a page object.
  *
  * @param PostResponseEvent $event The event object
  */
 public function onKernelTerminate(PostResponseEvent $event)
 {
     if (!$this->framework->isInitialized()) {
         return;
     }
     Frontend::indexPageIfApplicable($event->getResponse());
 }