def ait_build_cache_skip_profiler() -> bool:
    """
    boolean value of AIT_BUILD_CACHE_SKIP_PROFILER environment variable.
    Will return True if that variable is not set, if it is equal to "0",
    an empty string or "False" ( case insensitive ). Will return True
    in all other cases.
    """
    ret = os.environ.get("AIT_BUILD_CACHE_SKIP_PROFILER", "1")
    if ret is None or ret == "" or ret == "0" or ret.lower() == "false":
        return False
    return True

    boolean value of AIT_BUILD_CACHE_SKIP_PROFILER environment variable.
    Will return True if that variable is not set, if it is equal to "0",
    an empty string or "False" ( case insensitive ). Will return True
    in all other cases.
    
python/aitemplate/utils/environ.py