def ping(self):
self._idle()<EOL>self._transaction_start()<EOL>self._i2c_start()<EOL>self._i2c_write_bytes([self._address_byte(False)])<EOL>self._i2c_stop()<EOL>response = self._transaction_end()<EOL>if len(response) != <NUM_LIT:1>:<EOL><INDENT>raise RuntimeError(<EOL>'<STR_LIT>'.format(len(response)))<EOL><DEDENT>return ((response[<NUM_LIT:0>] & <NUM_LIT>) == <NUM_LIT>)<EOL>
Attempt to detect if a device at this address is present on the I2C
        bus.  Will send out the device's address for writing and verify an ACK
        is received.  Returns true if the ACK is received, and false if not.