from pathlib import Path
import logging


def check_sqlite(database):
    """Check for SQLite database."""
    dbfile = Path(database)
    if dbfile.is_file():
        logging.info("check_sqlite() == True")
        return True
    else:
        logging.info("check_sqlite() == False")
        return False