fstat プラグインに isExistentDirectory()があるじゃろ