I found an IsLeakDetected() function but it doesn't read from the LeakFlag status. But from what I could understand it already does the job. So I guess we probably don't need a wrapper for LeakFlag. Is that right?
As for the others isATOTimeOut(), isOverheat() and isBusLock() I'll declare and implement the functions and send for your appreciation
You will still need the isLeakFlag().
IsLeakDetected() is an instantaneous reading, so it only returns true as long as the module finds a leak.
The flag gets set and only clears with user intervention.