def METHOD_NAME(api):
    '''
    test to get access group filters
    '''
    filters = api.filters.access_group_filters()
    assert isinstance(filters, dict)
    for data in filters:
        check(filters[data], 'choices', list, allow_none=True)
        check(filters[data], 'operators', list)
        check(filters[data], 'pattern', str, allow_none=True)