public readonly property isWriteonly as Boolean:
Indicates whether the property is declared write-only.
true when the declaration uses the writeonly modifier.
true
writeonly
prop = type(credentials).getProperty("password") assert prop.isWriteonly