internal static bool HasPressedKeyBinding(this Command command)
        {
            var bindings = ((object[])command.Bindings).Cast <string>();

            return(KeyUtils.ParseBindings(bindings).Any(b => b.IsPressed()));
        }