docs: private boolean isSecureAttribute(RegistryEntry registryEntry, String attributeName) {
          ExtendedAttributeDefinition attributeDefinition = getAttributeDefinition(registryEntry, attributeName);
          if (attributeDefinition == null) {
              return false; // No available definition; default to false.
          }
  
          // @formatter:off
          int attributeType = attributeDefinition.getType();
          return ((attributeType == MetaTypeFactory.PASSWORD_TYPE) ||
                  (attributeType == MetaTypeFactory.HASHED_PASSWORD_TYPE));
          // @formatter:on
      }