Add isStructuredAttribute() and isPrimitiveAttribute() in IomHelper