public function shouldRenderBasic(array $arguments) {
        if(isset($arguments['evenOnSamePage']) && $arguments['evenOnSamePage'] === true) {
            return $this->hasPermissions();
        } else {
            return $this->hasPermissions() && !$this->linksToCurrentPage($arguments);
        }
    }