def staff_check(user):
    """A method that checks if a user is a memeber of staff and returns true.
    It is used by the @user_passes_test() decorator to lock away views that should
    only be accessed by staff memebers.

    Returns: 
        Bool: The boolean indicating if a user is a staff memeber or not.

    """
    return user.is_staff