How To Check If Byte Array Is Empty Python