Identify the user is logged in or registered

i have some question about how to find the user either the user is logged in or registered is there any way to differentiate .

Hey there!

Here’s the way to do it:

but you should keep in mind that at some point you will need to convert the rule to action as we are deprecating rules next year.