def check_path_exists(option):
    if option is None or len(option.strip()) == 0 or not os.path.isdir(option):
        return False
    return True


# <----- Main ------>
dataset/ETHPy150Open databricks/spark-package-cmd-tool/python/spark_package/spark_package.py/check_path_exists/original