def METHOD_NAME(self):
    """Returns the next page after this one."""
    editor = self.editor
    if (editor is not None) and (editor.next != ""):
        next_ = editor.next
        if next_ is None:
            return None
        for page in self.pages:
            if page.id == next_:
                return page
    return self.next