isActionDisabled = async symbol => {
  const result = await cache.getWithTTL(`${symbol}-disable-action`);

  if (result === null) {
    return { isDisabled: false, ttl: -2 };
  }

  const ttl = result[0][1];
  const reason = JSON.parse(result[1][1]) || {};

  return { isDisabled: ttl > 0, ttl, ...reason };
}
Check if the action is disabled.

@param {*} symbol
@returns