def checkAliasValidity(self):
    if (self.alias != None):
        if (len(self.members) != len(self.alias.members)):
            raise Exception(('%s has different number of members than its alias %s.' % (self.name, self.alias.name)))
        for (index, member) in enumerate(self.members):
            break
def checkAliasValidity(self):
    if (self.alias != None):
        if (len(self.members) != len(self.alias.members)):
            raise Exception(('%s has different number of members than its alias %s.' % (self.name, self.alias.name)))
        for (index, member) in enumerate(self.members):
            break