function isImportDeclaration(node) {
    return node && node.type === 'ImportDeclaration' && packageNames.includes(node.source.value);
  }
Checks whether the given node is a import, or not
@param {import("estree").Node} node