public function isRole($role, $inherit = false, $onlyParents = false)
    {
        if ($role instanceof RoleInterface) {
            $role = $role->getRoleId();
        }

        $userRole = $this->getUser()->getRole();
        $isRole   = $userRole == $role;

        /*
         * @todo remove this, if the admin module is implemented
         */
        if ('recruiter' == $role) {
            $inherit = true;
        }

        if ($isRole || !$inherit) {
            return $isRole;
        }

        $acl = $this->getAcl(); /* @var $acl \Zend\Permissions\Acl\Acl */

        return method_exists($acl, 'inheritsRole') && $acl->inheritsRole($userRole, $role, $onlyParents);
    }