mutapath.Path.isdir

Path.isdir()[source]

Return true if the pathname refers to an existing directory.