code: function _checkInitializerTypeExists(rootPath, type) {
    const isTypeExists = fastbootInitializerTypes.some((fastbootInitializerType) => {
      const pathType = path.join(rootPath, 'app', fastbootInitializerType, type);
  
      return existsSync(pathType);
    });
  
    return isTypeExists;
  }
docs: Helper function to check if there are any `(instance-)?intializers/[browser|fastboot]/` path under the
  given root path.
  
  @param {String} rootPath
  @param {String} type
  @returns {Boolean} true if path exists