```logger.debug("123")```, then no if ```is``` required.
```logger.debug("123"+"456")```, then you should use ```if```. The principal is to avoid computation if the result is not being used.