def is_directory(f):

    return is_path(f) and os.path.isdir(f)
Checks if an object is a string, and that it points to a directory.
dataset/ETHPy150Open thisissoon/Flask-Store/flask_store/utils.py/is_directory