function isStatic(node) {
    let result = cache.get(node);
    if (result == null) {
      result = isStaticWithoutCache(node);
      cache.set(node, result);
    }
    return result;
  }
@param {import("estree").Expression} node
@returns {boolean}