You don't want to do this.  Instead, expose the active sync sessions via static methods on the module: 

```
var sync = Sync.active.byUsername(username);
if(!(sync && sync.id === syncID) {...}
```