def isSimpleStruct(type):

    def hasArrayMember(type):
        for member in type.members:
            if (member.arraySize != ''):
                return True
        return False

    def hasCompositeMember(type):
        for member in type.members:
            if (member.getType() in COMPOSITE_TYPES):
                return True
        return False
    return ((type.typeClass == CompositeType.CLASS_STRUCT) and (type.members[0].getType() != 'VkStructureType') and (not (type.name in QUERY_RESULT_TYPES)) and (not hasArrayMember(type)) and (not hasCompositeMember(type)))
def isSimpleStruct(type):

    def hasArrayMember(type):
        for member in type.members:
            if (member.arraySize != ):
                return True
        return False

    def hasCompositeMember(type):
        for member in type.members:
            if (member.getType() in COMPOSITE_TYPES):
                return True
        return False
    return ((type.typeClass == CompositeType.CLASS_STRUCT) and (type.members[0].getType() != 'VkStructureType') and (not (type.name in QUERY_RESULT_TYPES)) and (not hasArrayMember(type)) and (not hasCompositeMember(type)))