isTopLevel

Whether the declaration is top-level (not a member of a class).