KnownModule::is_enum
## Summary Changes the visibility of `KnownModule` and removes an unneeded function.