py: Simpler implementation of mp_obj_callable.
diff --git a/py/obj.c b/py/obj.c
index 660df4d..76a4d8f 100644
--- a/py/obj.c
+++ b/py/obj.c
@@ -66,12 +66,7 @@
 }
 
 bool mp_obj_is_callable(mp_obj_t o_in) {
-    if (!MP_OBJ_IS_OBJ(o_in)) {
-        return false;
-    } else {
-        mp_obj_base_t *o = o_in;
-        return o->type->call != NULL;
-    }
+    return mp_obj_get_type(o_in)->call != NULL;
 }
 
 machine_int_t mp_obj_hash(mp_obj_t o_in) {