public bool ContainsKey(string key) { key = key.ToLowerInvariant(); return(AllKeys.Any(v => v.ToLowerInvariant() == key)); }
public static bool IsAnyKeyPressed() { return(AllKeys.Any(key => IsKeyPressed(key))); }
public bool HasKeys() { return(AllKeys.Any()); }
public bool ContainsKey(string key) { Verify.NotNull(key, nameof(key)); return(AllKeys.Any(x => KeyMatches(x, key))); }