code: function checkState ( item, wantIt, cb) {
      var i, found = false
      if ( !(isEmpty(my.state.trackedfiles)) ) {
        for (i in my.state.trackedfiles) {
          if (path.basename(i) === path.basename(item)) {
            found = true
          }
        }
      }
      if (found && !wantIt) {
        return cb( erf(path.basename(item) + ' is already being tracked.') )
      }
      if (!found && wantIt) {
        return cb( erf(path.basename(item)
                       + ' is not in the tracked file list for this bin.') )
      }
      else cb(null)
    }
docs: ////////////////////////////////// ## STATE MANIPULATION FUNCS ## //////////////////////////////////  ## CHECKSTATE ## queries current state to ensure status is valid before processing. Used in async.chain which takes a callback with single error argument.