make sure explicit code is equivalent to bool
make sure explicit code is equivalent to bool

(cherry picked from commit 59e1aa28c74703cdeb8d62393a9e7c5e4768d6aa)

RasaHQ/rasa_nlu,RasaHQ/rasa_nlu,RasaHQ/rasa_nlu