The doc block for the `setOtpConfig` method indicates it returns boolean, and that's the method you've updated to use the new `JCrypt` class.  So the return is consistent with the method's documented use.