function isKey(keys, event) {
  keys = isArray(keys) ? keys : [ keys ];

  return keys.indexOf(event.key) !== -1 || keys.indexOf(event.code) !== -1;
}
Checks if key pressed is one of provided keys.

@param {string|string[]} keys
@param {KeyboardEvent} event
@return {boolean}