/** * Test, if a property is declared. * @param name The property name. * @return True, if the property is declared. */ public boolean hasPropertyValue(String name) { return activity.hasPropertyValue(name); }
if (activity.hasPropertyValue("duration") && ((UnparsedExpression) activity.getPropertyValue("duration")).getValue().length() > 0)