def _ensure_loader_prepared(hass):
    if not loader.PREPARED:
        loader.prepare(hass)
Ensure Home Assistant loader is prepared.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/bootstrap.py/_ensure_loader_prepared