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