public boolean hasSlotIsEqual ( final String slotName , final String value ) { final String slotValue = getSlotValue ( slotName ) ; return ( slotValue != null && slotValue . equals ( value ) ) || slotValue == value ; }
Checks if a slot is contained in the intent request and also got the value provided .