### Summary

Add type hints to `ansible.utils.display::Display`

### Issue Type

Feature Idea

### Component Name

lib/ansible/utils/display.py
"This should be removed from the plugin %s." % plugin.ansible_name
            )
        elif builtin_or_legacy and needs_enabled and not plugin.matches_name(C.VARIABLE_PLUGINS_ENABLED):
            continue
        has_stage = hasattr(plugin, 'get_option') and plugin.has_option('stage')
        
        
        use_global = (has_stage and plugin.get_option('stage') is None) or not has_stage
        if use_global:
            if C.RUN_VARS_PLUGINS == 'demand' and stage == 'inventory':
                continue
            elif C.RUN_VARS_PLUGINS == 'start' and stage == 'task':
                continue
        elif has_stage and plugin.get_option('stage') not in ('all', stage):
            continue
        data = combine_vars(data, get_plugin_vars(loader, plugin, path, entities))
    return data
def get_vars_from_inventory_sources(loader, sources, entities, stage):
    data = {}
    for path in sources:
        if path is None:
            continue
        if ',' in path and not os.path.exists(path):  
            continue
        elif not os.path.isdir(to_bytes(path)):
            
            path = os.path.dirname(path)
        data = combine_vars(data, get_vars_from_path(loader, path, entities, stage))
    return data