That would be a good check.  But this should probably be a separate issue/PR.  I'll make an issue.