Validate betacode