diff --git a/li.strolch.model/src/main/java/li/strolch/model/parameter/Parameter.java b/li.strolch.model/src/main/java/li/strolch/model/parameter/Parameter.java index 638fee0e0..0db6d155a 100644 --- a/li.strolch.model/src/main/java/li/strolch/model/parameter/Parameter.java +++ b/li.strolch.model/src/main/java/li/strolch/model/parameter/Parameter.java @@ -74,6 +74,15 @@ public interface Parameter extends StrolchElement, Comparable> { */ boolean isEmpty(); + /** + * Returns true if the value is set, i.e. not empty. This is the inverse of {@link #isEmpty()} + * + * @return true if the value is set, i.e. not empty + */ + default boolean isSet() { + return !isEmpty(); + } + /** * Returns true if the given parameter's value is equal to the current value *