Repalace int with mrb_bool because a return value is boolean.