code: public static boolean isDirectory(Path path, boolean isFollowLinks) {
  		if (null == path) {
  			return false;
  		}
  		final LinkOption[] options = isFollowLinks ? new LinkOption[0] : new LinkOption[] { LinkOption.NOFOLLOW_LINKS };
  		return Files.isDirectory(path, options);
  	}
docs: 判断是否为目录，如果file为null，则返回false
  
  @param path {@link Path}
  @param isFollowLinks 是否追踪到软链对应的真实地址
  @return 如果为目录true
  @since 3.1.0