Verify dnf group marks

I’m not sure if I understood it correctly, but it seems that manually marking a package as group install without a group is a thing [1] [2].
If so, is there a command in dnf to verify that the group marks on packages correspond to the groups installed?

I thought about removing the marks on everything and installing the groups again, then see the manually marked packages by dnf autoremove, but it seems that unless the packages are actually removed, they will not be remarked.

// at is part of "Standard", which is part of "Fedora Server Edition"
$ dnf mark remove at
// dnf wants to remove at
$ dnf autoremove
$ dnf group install "Fedora Server Edition"
// dnf still wants to remove at...?
$ dnf autoremove

  1. https://dnf.readthedocs.io/en/latest/command_ref.html#mark-command ↩︎

  2. ↩︎