In MongoDB 8.0 the sharded clusters now have the ability to run a config shard that stores cluster metadata and user collections. It would be nice if there was a shell helper that allowed an operator to quickly tell if the cluster has a config shard.
Running listShards and returning true or false determined by if there's a shard with an _id value of config seems like enough.
Potential name - sh.configShardEnabled()