def _get_bit(self, n, hash_bytes):
        """
        Determines if the n-th bit of passed bytes is 1 or 0.

        Arguments:

          hash_bytes - List of hash byte values for which the n-th bit value
          should be checked. Each element of the list should be an integer from
          0 to 255.

        Returns:

          True if the bit is 1. False if the bit is 0.
        """

        if hash_bytes[n // 8] >> int(((n % 8) + 1) - 8) & 1 == 1:
            return True

        return False
dataset/ETHPy150Open azaghal/pydenticon/pydenticon/__init__.py/Generator._get_bit/swapped operands of `-`