Redis.available = (function () {
  try {
    require.resolve('redis');
    return true;
  } catch (err) {