If you rely on return values it's always a good idea to get a decent error checking, so yes...
_________________________