code: def dbt_project_file_exists() -> bool:
      """Check that the cwd is a dbt project root. Currently done by checking for existence of dbt_project.yml."""
      return pathlib.Path("dbt_project.yml").exists()
  
file_path: metricflow/metricflow/cli/utils.py
imports: from __future__ import annotations
  import datetime
  import logging
  import pathlib
  import traceback
  from functools import update_wrapper, wraps
  from typing import Any, Callable, List, Optional
  import click
  from dateutil.parser import parse
  import metricflow.cli.custom_click_types
  from metricflow.cli.cli_context import CLIContext
label_desc: Use image node_id 7 for calling a global function with example usage: dbt_project_file_exists() and returns: pathlib