`if distro not in MODULES` should do the trick, there is no need for `keys()`.