code: 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
      }
docs: Test if an attribute is a secured / password type attribute.
  
  This is tested using the attribute type, as obtained from {@link ExtendedAttributeDefinition#getType()}.
  
  Attribute types {@link MetaTypeFactory#PASSWORD_TYPE} and {@link MetaTypeFactory#HASHED_PASSWORD_TYPE} are secured. All other attribute types are not secured.
  
  Answer false the attribute type cannot be obtained, either because the
  registry entry was null, had no class definition, or had no definition
  for the attribute.
  
  @param registryEntry The registry entry from which to obtain the attribute type.
  @param attributeName The name of the attribute which is to be tested.
  
  @return True or false telling if the attribute is a secured/password type attribute.