private static bool HasAnyProperty(IntObjectMap <PropertyBlock> blockMap, int[] indexPropertyIds) { foreach (int indexPropertyId in indexPropertyIds) { if (blockMap.containsKey(indexPropertyId)) { return(true); } } return(false); }