IsBufRW (hbuf)
Return True if the given buffer is read-write-able. This function returns False if the buffer is read-only.