def get_model_preheat():
    """Get the model preheat flag from the environment variable BENTOML_MODEL_PREHEAT."""
    env_var = os.getenv("BENTOML_MODEL_PREHEAT", "0")
    return env_var not in ("0", "false", "False", "")
Get the model preheat flag from the environment variable BENTOML_MODEL_PREHEAT.
src/_bentoml_impl/worker/service.py