default boolean hasRegisteredDevices(final Principal principal) {
        return !findRegisteredDevices(principal).isEmpty();
    }
Has registered devices for a given provider.

@param principal the principal
@return true/false
api/cas-server-core-api-mfa/src/main/java/org/apereo/cas/authentication/device/MultifactorAuthenticationDeviceManager.java