I'm trying to recursively visit a package and all
packages/modules within it using metaprogramming. I should be
able to use __traits(allMembers, somePackage) recursively to get
all symbols within the package, but is there an easy way to
determine whether a symbol represents a package, a module, or
something else?
