def is_user_involved(user, project):

    """
    Check if user involved at a project as a manager, annotator or reviewer.
    """

    return (user in project.annotators.all()) or (user in project.reviewers.all()) or (user in project.managers.all())