function isStaticCwd(node) {
    if (
      node.type !== 'CallExpression' ||
      node.callee.type !== 'MemberExpression' ||
      node.callee.computed ||
      node.callee.property.type !== 'Identifier' ||
      node.callee.property.name !== 'cwd' ||
      node.callee.object.type !== 'Identifier' ||
      node.callee.object.name !== 'process'
    ) {
      return false;
    }
    const variable = findVariable(scope, node.callee.object.name);
    if (!variable || variable.defs.length !== 0) {
      return false;
    }
    return true;
  }
Checks whether the given expression is a static `process.cwd()`.

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