Hello @Ray_Sha1 You can use the below expression:
IsNothing(MyVar)
Else check the below similar post.
Thanks