Detecting Vera vs. openLuup Controllers in JavaScript

Hey everyone, I’m working on a plugin for my Vera system and I need to figure out how to detect whether I’m connected to a Vera or an openLuup controller. I found some code that checks if it’s UI5, but I need something more specific. Here’s what I have so far:

javascript
var controller = MultiBox.controllerOf(deviceObj.altuiid).controller;
var isUI5 = MultiBox.isUI5(controller);

This tells me if it’s UI5, but I need to distinguish between Vera and openLuup. I’m using the same JavaScript file for both setups, so I need a reliable way to check the platform without causing errors. Has anyone tackled this before? Any tips or workarounds would be super helpful! Thanks in advance for your insights!