This method of the RegKeyEnumValue class determines if the registry value is binary.
public boolean isBinary();
Returns true if the registry value is binary, in which case the object is the RegKeyEnumValueByteArray type; otherwise, returns false.
RegKeyEnumValueByteArray