This could potentially be done as a preflight check, outside of the `-map:` block, by checking all values of `cases`.