Contains support

Previous code supposed to return an object, just like the function name says..
Mb this guy should be called `_get_alert_text_or_none` then?