it should be ``if (!$this->container instanceof Container) {`` IMO