function isStaticFileURLToPath(node) {
    if (node.type !== 'CallExpression') {
      return false;
    }
    const pathInfo = getImportAccessPath({
      node: node.callee,
      scope,
      packageNames: URL_PACKAGE_NAMES,
    });
    if (!pathInfo || pathInfo.path.length !== 1) {
      return false;
    }
    let name = pathInfo.path[0];
    if (name !== 'fileURLToPath') {
      return false;
    }
    return Boolean(node.arguments.length) && node.arguments.every(isStatic);
  }
Checks whether the given expression is a static `url.fileURLToPath()`.

@param {import("estree").Expression} node The node to check.
@returns {boolean} if true, the given expression is a static `url.fileURLToPath()`.