Cleaner way to check for dummy encodings.