code: function lookupKey(state, bindings, key) {
    if(key in bindings) {
      var arr = bindings[key]
      for(var i=0, n=arr.length; i<n; ++i) {
        if(state[virtualKeyCode(arr[i])]) {
          return true
        }
      }
      return false
    }
    var kc = virtualKeyCode(key)
    if(kc >= 0) {
      return state[kc]
    }
    return false
  }
docs: Checks if a key is set in a given state