BS-9610: support list of document in hasDefaultValue method