def METHOD_NAME(self):
    """
    Determine whether this object, and any of its ancestors, have
    expired.
    """
    if self.parent and self.parent.METHOD_NAME():
        return True
    return bool(self.expires) and self.__expired