sbool isDirectory(File f) { ret f != null && f.isDirectory(); } sbool isDirectory(S path) { ret path != null && isDirectory(newFile(path)); }