This is a WikiaService subclass, this can be $this->wg->Title->isSpecialPage();