def METHOD_NAME(value, system):
    # https://encodedcc.atlassian.net/browse/ENCD-4378
    if 'dbxref' in value:
        if 'genes' in value:
            value.pop('dbxref', None)
        elif len(value['dbxref']) == 0:
            value.pop('dbxref', None)
        else:
            value['dbxrefs'] = value['dbxref']
            value.pop('dbxref', None)