ifNotNull

inline fun <T> T?.ifNotNull(toBoolean: T.() -> Boolean): Boolean