Determines whether a symbol represents a module or package (Used as a helper for is(type == module) and is(type == package))
the symbol to be checked
the symbol which sym represents (or null if it doesn't represent a Package)
See Implementation
Determines whether a symbol represents a module or package (Used as a helper for is(type == module) and is(type == package))