Collection of useful helper functions when trying to determine module type (CommonJS or AMD) properties of an AST node.