function isIdentifierCallExpression(node) {
  if (node.type !== 'CallExpression') {
    return false
  }
  if (node.optional) {
    // optional chaining
    return false
  }
  const callee = node.callee
  return callee.type === 'Identifier'
}
Check whether the given node is an identifier call expression. e.g. `foo()`
@param {Expression} node The node to check.
@returns {node is CallExpression & {callee: Identifier}}