code: function isAppServer(inputpaths, serverConfig) {
    // Test if 'p' is in 'dirs'
    function contains(dirs, p) {
      if (!Array.isArray(dirs)) dirs = [dirs];
      return dirs.some(dir => {
        return indir(dir, p);
      });
    }
  
    return serverConfig != undefined && serverConfig.file != undefined && contains(inputpaths, serverConfig.file);
  }
docs: Determine if 'inputpaths' contain server file
  @param {Array} inputpaths
  @param {Object} serverConfig
  @returns {Boolean}