Also check if a TopLevelMetaclass instance (#261)