Why have you changed this ? <code>
return ref->user_count > 1;
</code> is exactly correct, returning true if it's true, false if it's false.  Of course, if you really want, you can be a little extra verbose: <code>
return ((((ref->user_count > 1) ? 1 : 0) ? "Well, of course" : NULL) ? 1.0 : 0.0) ? true : false;
</code> but at least end with the right type - bool, as here, not int - if you do feel the urge to do so.