Credential.hasPassword

bool hasPassword()

Determine whether this credential has a password stored.

Returns

true if the credential has a password or false otherwise.