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