Convenient macro to check whether the buffer is live.