SilverStripe\Assets\File::hasRestrictedAccess
Check if the File has a CanViewType set or inherited at "LoggedInUsers or above"
This is a bit different from a canView() check in that it doesn't check anything against a member. Instead it is a member-less permission check
Signature
public function hasRestrictedAccess()
Returns
- bool