A couple other options: ``` // Safe call operator...
# announcements
p
A couple other options:
Copy code
// Safe call operator combined with Elvis for fallback value if null
if (subscription?.isUnsubscribed ?: true) {
    //things
}

// Create a local copy (can choose whether or not to shadow the property name) 
val subscription = subscription
if (subscription == null || subscription.isUnsubscribed) {
    //things
}