isVersionSupported = (pluginVersion, scEngine, scVersion) => {
  const safeInfos =
    typeof scEngine === "string"
      ? { [pluginVersion]: { engines: scEngine } }
      : scEngine;
  const safeScVersion = scVersion || getState().scVersion;
  return doCheck(pluginVersion, safeInfos, safeScVersion);
}
check if 'pluginVersion' is supported
@param pluginVersion - wanted version
@param scEngine - version infos from the npm registry (resembles the package.json version)
                       Here you'll find the engines.saltcorn property.
                       If versionInfos is a string, it will be treated as the engines.saltcorn property.
@param scVersion - optional saltcorn version (if not set it will be taken from the state)