'Checks whether a group has a role assignment'

def check_group_has_flag_on_inherited_to_project(self, project_id, group_id, role_id):

    'with    the    inherited_to_projects    flag    on    a    project.'
    (resp, body) = self.head(('OS-INHERIT/projects/%s/groups/%s/roles/%s/inherited_to_projects' % (project_id, group_id, role_id)))
    self.expected_success(204, resp.status)
    return rest_client.ResponseBody(resp)
