def METHOD_NAME() -> bool:
    if shutil.which("buildkitd") or os.getenv("BUILDKIT_HOST", "") != "":
        pass
    else:
        logger.error(
            "Both buildkitd and BUILDKIT_HOST are not found. Ensure to use either of them."
        )
        tool = shutil.which("docker") or shutil.which("podman")
        if tool is not None:
            buildkitd_instructions = "\n".join(
                [
                    "To run a portable buildkitd (via container), do the following in a terminal:",
                    "    %s run -d --name buildkitd --privileged moby/buildkit:master",
                    "    export BUILDKIT_HOST=%s-container://buildkitd",
                    "Then proceed with 'containerize' again.",
                ]
            )
            logger.info(buildkitd_instructions, tool, tool.split(os.sep)[-1])
        return False
    return True