Future<bool> winIsValid(Window window) { return call('nvim_win_is_valid', args: [ window, ]).then<bool>((v) => v as bool); }