/** * Checks whether the user is enabled. * * Implements AdvancedUserInterface * * @return Boolean true if the user is enabled, false otherwise */ public function isEnabled() { return $this->user->getEnabled(); }