Reverted backport of OpenLayers.Util.isArray accidentally removed in 7336da93297f1d9cbca9ee5afb8711d5b11b64e5