Bugfix bad exception name in PySDK util.is_hex.

No issue #.