No, it's not really a problem.

For the future, I would remove _get_valid_caa_types altogether, because you can just iterate CAA_TYPES directly (which is already in the correct order).