isAppRestricted