diff --git a/src/main/java/org/myrobotlab/service/Random.java b/src/main/java/org/myrobotlab/service/Random.java index d018df206a..ed601f9044 100644 --- a/src/main/java/org/myrobotlab/service/Random.java +++ b/src/main/java/org/myrobotlab/service/Random.java @@ -140,6 +140,14 @@ public void addRandom(long minIntervalMs, long maxIntervalMs, String name, Strin public void addRandom(long minIntervalMs, long maxIntervalMs, String name, String method) { addRandom(minIntervalMs, maxIntervalMs, name, method, toRanges((Object[]) null)); } + + /** + * Global check for enabled + * @return + */ + public boolean isEnabled() { + return enabled; + } public Range intRange(int min, int max) { return new Range(min, max);