public static Optional<UUID> lookupUuid(String username) {
        return Optional.ofNullable(RedisBungee.getApi()).map(a -> a.getUuidFromName(username, true));
    }
Looks up a UUID from username via RedisBungee's uuid cache.

@param username the username to lookup
@return a uuid, if present
bungee/src/main/java/me/lucko/luckperms/bungee/util/RedisBungeeUtil.java