Check if user is opted-in in the flow
You can use variable @contact.optin_status
to check. It will return True if user is opted it otherwise return False.
Use it in split by expression
to make decision, if user is opted in or not.
<%= if @contact.optin_status == true, do: 1, else: 2%>