from pathlib import Path


def _db_exists() -> bool:
    """
    Checks to see if a .db file already exists

    :return: boolean indicating whether a .db file already exists
    """
    return len(list(Path.cwd().rglob("*.db"))) == 1