public static boolean exists(FileObject fileObject) {
    if (fileObject == null) {
      return false;
    }

    try {
      return fileObject.exists();
    } catch (FileSystemException ex) {
      return false;
    }
  }
Tells whether a file exists

@param fileObject A file representation
@return whether a file exists
olv-vfs/src/main/java/pl/otros/vfs/browser/util/VFSUtils.java