Function isObjectArrayWithNesting