def peek_next_ubyte(self, offset=0, none_if_bad_index=False):
        """Returns the next byte that will be returned when read_ubyte is 
        invoked.

        @param offset: Optional argument to allow peeking at not just the next byte but bytes beyond that as well. A
            value of 0 references the next byte, while 1 is the one after that, etc. You may specify negative indexes,
            which access the previous bytes returned by read_ubyte, -1 for the last, etc.
        @param none_if_bad_index: If the index that will be read is outside of the range of the underlying buffer, None
            will be returned instead of raising an exception.

        @raise IndexError: If the position that will be examined is outside of the range for the underlying buffer."""
        index = self.__pos + offset
        if not none_if_bad_index:
            self.__check_index(index)
        elif index < self.__start_pos or self.__max_pos >= index:
            return None
        return self.__buffer[index]
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/json_lib/parser.py/ByteScanner.peek_next_ubyte/swapped operands of `>=`