def METHOD_NAME(self, group_name, with_inherited=False):
    url_template = "groups/%s/members"
    if with_inherited:
        url_template += "/all"
    members = self._make_requests_to_api(url_template, group_name)
    # it will return {username1: {...api info about username1...}, username2: {...}}
    # otherwise it can get very long to iterate when checking if a user
    # is already in the group if there are a lot of users to check.
    # To enforce case insensitivity, the username is always as lowercase as
    # it can be for future comparisons.
    final_members = {}
    for member in members:
        final_members[member["username"].lower()] = member
    return final_members