A Boolean value that indicates whether the credential has a password.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
This value is
YES if the receiver has a password,
This method does not attempt to retrieve the password.
If this credential's password is stored in the user’s keychain,
password may return
nil even if this method returns
YES—getting the password may fail, or the user may refuse access.