code: function executable(file) {
    try {
      fs.accessSync(file, fs.X_OK);
      return true;
    } catch (e) {
      return false;
    }
  }
docs: Check whether a file is executable or not
  @function $file~executable
  @param {string} file
  @returns {boolean}
  @example
  // Check if '/bin/ls' is executable by the current user
  $file.executable('/bin/ls');
  // => true