The question is if it is a likely scenario to receive a mixed hash.  If it is possible, it would be better to test for it, syntax should not be an obstacle.