added isStruct()