How To Check If Vendor Is Logged In

I know { if auth.user_id} checks if user is logged in, i want to check if vendor account is logged in not user