app/grandchallenge/retina_api/mixins.py
def is_in_retina_admins_group(user):
    """
    Checks if the user is in the retina admins group
    :param user: Django User model
    :return: true/false
    """
    return user.groups.filter(name=settings.RETINA_ADMINS_GROUP_NAME).exists()

    Checks if the user is in the retina admins group
    :param user: Django User model
    :return: true/false
    
Checks if the user is in the retina admins group
Checks if the user is in the retina admins group
def is_in_retina_admins_group(user):
    return user.groups.filter(name=settings.RETINA_ADMINS_GROUP_NAME).exists()
def is_in_retina_admins_group ( user ) : return user . groups . filter ( name = settings . RETINA_ADMINS_GROUP_NAME ) . exists ( )
Checks if the user is in the retina admins group
Checks if the user is in the retina admins group
"""
    Checks if the user is in the retina admins group
    :param user: Django User model
    :return: true/false
    """
None
user
Django User model
Django User model