// is an OpMode running?
// this will return true most of the time
// as when a user OpMode isn't running, the SDK runs a special OpMode behind the scenes
FeatureRegistrar.isOpModeRunning();
// the active OpMode,
// this method exhibits undefined behaviour if isOpModeRunning returns false
FeatureRegistrar.getActiveOpMode();
// the active Wrapper, Wrapper is a Dairy class for wrapping over an OpMode and some additional information
// this method exhibits undefined behaviour if isOpModeRunning returns false
Wrapper wrapper = FeatureRegistrar.getActiveOpModeWrapper();
// get the Wrapper.State of the currently running Wrapper
// this method exhibits undefined behaviour if isOpModeRunning returns false
Wrapper.OpModeState state = FeatureRegistrar.getOpModeState();
// state:
// INIT
// ACTIVE
// STOPPED