docs: def integer(self, x):
          """
          returns a plain integer
          """
          if type(x) is str:
              hex = binascii.unhexlify(x)
              return int.from_bytes(hex, 'big')
  
          return x.value if isinstance(x, FiniteField.Value) else x