def METHOD_NAME(self, user, check_state=False):
    from indico.modules.events.papers.models.revisions import PaperRevisionState
    if user is None:
        return False
    if check_state and self.revision.state != PaperRevisionState.submitted:
        return False
    return self.user == user