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