isRestricted

open fun isRestricted(): Boolean

Returns whether reading or writing to the descriptor is restricted and will result in a SecurityException.