Loqate Address Verifier – Detect Zero Credit OnLoad?

Using the Loqate Address Verification service, is there a way to programatically detect that your account is out of credit, on load of the control? Something like the code below (that I just made up)? …