add mrb_check_hash_type
Merge pull request #720 from skandhas/pr-add-mrb_check_hash_type

add mrb_check_hash_type