code: function checkRequiredFiles(files) {
    try {
      files.forEach(filePath => {
        fs.accessSync(filePath, fs.F_OK);
      });
      return true;
    } catch (err) {
      return false;
    }
  }
docs: const checkRequiredFiles = require('react-dev-utils/checkRequiredFiles');