docs: private static boolean castToBool(byte[] data) {
          for (int i = 0; i < data.length; i++)
          {
              // "Can be negative zero" - Bitcoin Core (see OpenSSL's BN_bn2mpi)
              if (data[i] != 0)
                  return !(i == data.length - 1 && (data[i] & 0xFF) == 0x80);
          }
          return false;
      }