code: function isDirectory(filePath) {
  	var isDir = false;
  	try {
  		var absolutePath = path.resolve(filePath);
  		isDir = fs.lstatSync(absolutePath).isDirectory();
  	} catch (e) {
  		isDir = e.code === 'ENOENT';
  	}
  	return isDir;
  }
docs: Is this padh a Directory
  
  @param {String} filePath
  @returns {Boolean}