Checks whether the
credentialType
of this instance is set.
false if the credentialType is null. Otherwise, it returns true.