I have a parameter 

```
case class Envelope(subject: Option[String]) {
}

```

and I want to apply a require function only if subject is non null.

Something like below:

```
require(StringUtils.isNotBlank(subject))

```