function isRequireBasedImport(expression) {
    return (
      expression &&
      expression.type === 'CallExpression' &&
      expression.callee.name === 'require' &&
      expression.arguments.length &&
      expression.arguments[0].type === 'Literal' &&
      packageNames.includes(expression.arguments[0].value)
    );
  }
Checks whether the given expression node is a require based import, or not
@param {import("estree").Expression} expression