more redeable this way ?
```java
return Boolean.parseBoolean(constraint.getOrElse("false"))
```