Is the `is_object` call here useful when you have `instanceof` as well?