Are there a code like"deliv_status" in the arduino?

Normally you would send a packet of bytes and have a check sum at the end. If the check sum you calculate is not equal to the check sum you receive then you can say there has been an error. I suspect that is what your "deliv_status" function is doing. There is no such function written for the standard functions available in the Arduino, but no reason why you should not write one.