Check buffer exists