Null check status using elvis operator