def available(self):
        """
        This method checks to see if new xyz data is available
        @return: Returns 0 if not available. 1 if it is available
        """
        register = self.MMA8452Q_Register['STATUS']
        self.board.i2c_read_request(self.address, register, 1,
                                    Constants.I2C_READ | Constants.I2C_END_TX_MASK,
                                    self.data_val, Constants.CB_TYPE_DIRECT)


        avail = self.wait_for_read_result()
        avail = (avail[self.data_start] & 0x08) >> 3

        return avail
This method checks to see if new xyz data is available
        @return: Returns 0 if not available. 1 if it is available