Use `==` instead of `is` for string matching, see http://stackoverflow.com/questions/1504717