code: public boolean isDirectoryOrLinkedDirectory(SftpFile file)
  			throws SftpStatusException, SshException {
  		return file.isDirectory()
  				|| (file.isLink() && stat(file.getAbsolutePath()).isDirectory());
  	}
docs: Determine whether the file object is pointing to a symbolic link that is
  pointing to a directory.
  
  @return boolean