This logic should be done in the `Sync` object via static methods.  Something like `Sync.active.byUsername(username)` returns `true` if there is an active sync record for this user.