[RFC]CID 71507: Unchecked return value (CHECKED_RETURN)

Check for the return value of object_to_vim instead of checking for err.set
From what i saw from the source of object_to_vim, when err.set is set to true object_to_vim always returns false, wouldn't be redudant to use || then?
In fact when object_to_vim returns false it either sets the error or calls itself recursively passing the same err by reference.
I'm thinking that when object_to_vim returns false the err is always set, not needing to verify err.set in anyway.
Not sure if i understood it correctly.