/** * @return bool */ public function isRedirect() { $this->loadFile(); if ($this->mFile->isLocal()) { return parent::isRedirect(); } return (bool) $this->mFile->getRedirected(); }