Make `contains` take the string by const reference again, for performance reasons