def contains_plural_field(model, fields):
    source_model = model
    for orm_path in fields:
        model = source_model
        bits = orm_path.lstrip('+-').split('__')
        for bit in bits[:-1]:
            field, _, direct, m2m = model._meta.get_field_by_name(bit)
            if isinstance(field, models.ManyToManyField) \
                    or (USE_RELATED_OBJECT and isinstance(field, RelatedObject) and field.field.rel.multiple) \
                    or (not USE_RELATED_OBJECT and isinstance(field, RelatedField) and field.one_to_many):
                return True
            model = get_model_at_related_field(model, bit)
    return False
Evaluate the current statement
dataset/ETHPy150Open pivotal-energy-solutions/django-datatable-view/datatableview/utils.py/contains_plural_field--crossover with--dataset/ETHPy150Open boakley/robotframework-workbench/rwb/debugger/app.py/DebuggerApp.on_eval