data_baseutilsis_db

is_db

data_base.utils.is_db(dir_to_data)

Check if a path is a DataBase.

Parameters:

dir_to_data (pathlib.Path) – The path to the directory

Returns:

True if dir_to_data is a (sub)db, False otherwise.

Return type:

bool