@SuppressWarnings("rawtypes")
  @Override
  protected AltBn128Point newInstance(final FieldElement x, final FieldElement y) {
    return new AltBn128Point((Fq) x, (Fq) y);
  }
Is on curve boolean.

@return the boolean
crypto/algorithms/src/main/java/org/hyperledger/besu/crypto/altbn128/AltBn128Point.java