public function canView()
    {
        return (Director::isDev() || Director::is_cli() ||
            !$this->config()->get('check_permission') ||
            Permission::check($this->config()->get('check_permission'))
        );
    }
public function canView()
    {
        return (Director::isDev() || Director::is_cli() ||
            !$this->config()->get('check_permission') ||
            Permission::check($this->config()->get('check_permission'))
        );
    }
public function canView ( ) { return ( Director :: isDev ( ) || Director :: is_cli ( ) || ! $ this -> config ( ) -> get ( 'check_permission' ) || Permission :: check ( $ this -> config ( ) -> get ( 'check_permission' ) ) ) ; }
Can the user view this documentation. Hides all functionality for private
wikis.

@return bool
Can the user view this documentation . Hides all functionality for private wikis .