Extending the the Java condition type to implement calling a static parameterless method additionaly to a static field for getting data:
Allows to define a Java based condition based on a static method call: