This method checks verifies the device ID.
        @return: True if valid, False if not

def check_who_am_i(self):
        """
        This method checks verifies the device ID.
        @return: True if valid, False if not
        """
        register = self.MMA8452Q_Register['WHO_AM_I']

        self.board.i2c_read_request(self.address, register, 1,
                                    Constants.I2C_READ | Constants.I2C_END_TX_MASK,
                                    self.data_val, Constants.CB_TYPE_DIRECT)


        reply = self.wait_for_read_result()

        if reply[self.data_start] == self.device_id:
            rval = True
        else:
            rval = False
        return rval