MDL-39664 fixed up is_array test (reverting the whole line basically prior to MDL-39664 changes)