def bufvar_exists(buffer, varname):
		buffer = buffer or vim.current.buffer
		return varname in buffer.vars
dataset/ETHPy150Open powerline/powerline/powerline/bindings/vim/__init__.py/bufvar_exists/original