def valid_processor_metadata_value?(value)
      if VALID_METADATA_VALUE_TYPES_HASH[value.class]
        true
      elsif VALID_METADATA_COMPOUND_TYPES_HASH[value.class]
        value.all? { |v| valid_processor_metadata_value?(v) }
      else
        false
      end
    end
def valid_processor_metadata_value?(value)
      if VALID_METADATA_VALUE_TYPES_HASH[value.class]
        true
      elsif VALID_METADATA_COMPOUND_TYPES_HASH[value.class]
        value.all? { |v| valid_processor_metadata_value?(v) }
      else
        false
      end
    end
Internal: Validate object is in validate metadata whitelist.

 value - Any Object

 Returns true if class is in whitelist otherwise false.