referencesImport(source, name) {
		if (!types.isIdentifier(this.node)) return false;

		const binding = this.scope.getBinding(this.node.name);
		if (!binding) return false;

		const parent = binding.path.parentPath;
		if (!types.isImportDeclaration(parent.node)) return false;

		if (parent.node.source.value !== source) {
			return false;
		}

		if (!name) return true;

		const node = binding.path.node;
		if (types.isImportDefaultSpecifier(node) && name === 'default') {
			return true;
		}

		if (types.isImportNamespaceSpecifier(node) && name === '*') {
			return true;
		}

		if (types.isImportSpecifier(node) && node.imported.name === name) {
			return true;
		}

		return false;
	}
@param {string} source The module source
@param {string} [name] The imported name
@returns {boolean}