human
Give me a the Python program you requested given the following:
Complete the below
def group():

    ''''Problem Group REST Controller'
    '''
assistant
#Here is the Python program you requested.
    if (not s3_has_role('DelphiAdmin')):
        s3db.configure('delphi_group', deletable=False)
    def prep(r):
        if r.interactive:
            if r.component:
                tablename = r.component.tablename
                list_fields = s3db.get_config(tablename, 'list_fields')
                try:
                    list_fields.remove('group_id')
                except:
                    pass
                s3db.configure(tablename, deletable=s3_has_role('DelphiAdmin'), list_fields=list_fields)
        return True
    s3.prep = prep
    rheader = group_rheader
    return s3_rest_controller(rheader=rheader, native=True)