Check if slot is affirm or deny

I can access to the slot value in action (by using tracker.get_slot(key)), but how can I check if this value (text) is affirm or deny?

Do you mean if the string value equals affirm or deny?

Not equals but its meaning is affirm or deny (the intent)

examples :
yes ===> affirm
maybe yes ===> affirm
I think so ===> affirm
OK ===> affirm

No ===> deny
Never ===> deny

Not equals but its meaning is affirm or deny (the intent)

examples :
yes ===> affirm
maybe yes ===> affirm
I think so ===> affirm
OK ===> affirm

No ===> deny
Never ===> deny