function isStaticImportMetaUrl(node) {
    return (
      node.type === 'MemberExpression' &&
      !node.computed &&
      node.property.type === 'Identifier' &&
      node.property.name === 'url' &&
      node.object.type === 'MetaProperty' &&
      node.object.meta.name === 'import' &&
      node.object.property.name === 'meta'
    );
  }
Checks whether the given expression is an `import.meta.url`.

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