IsBufDirty (hbuf)

Returns True if the buffer is dirty. A dirty buffer is one that has been edited since it was opened or saved. A dirty buffer contains changes that have not been saved.