To check if the IBAN check digits are valid you should use the isValid
method only:
Boolean b = a.isValid("MY_IBAN_NUMBER_HERE");
Log.e("isValid: ", b.toString());
The calculate
method would compute the check digits if you did not know them already.