def isdir(path, **kwargs):
    """Check if *path* is a directory"""
    import os.path
    return os.path.isdir(path, **kwargs)
def isdir ( path , ** kwargs ) : import os . path return os . path . isdir ( path , ** kwargs )
Check if *path* is a directory