'The ancestry contains a <choice/>
@param ancestry: A list of ancestors.
@type ancestry: list
@return: True if contains <choice/>
@rtype: boolean'

def bychoice(self, ancestry):

    for x in ancestry:
        if x.choice():
            return True
    return False
