isRestricted

open fun isRestricted(): Boolean

Returns whether the service is restricted and accessing it will result in a SecurityException.