code: function hasFileInLocal(url, mockFileDir) {
      var filePath = findInLocal(url, mockFileDir);
      var status;
      try{
          status = fs.statSync(filePath);
      }catch(e){
          return false;
      }
      return status.isFile();
  }
docs: if the file(not contain directory) is found, then return true, otherwise return false.
  @param url
  @param mockFileDir
  @returns {boolean}