Generalised interface to itemHasAllProperties test to allow lists as well as
arrays of properties, as that's what VTL produces.