@scalvert would we perhaps want to use a regex? We could then control for case-insensitivity, if necessary.
```
var regex = new RegExp(expected, 'i');
return !!value.match(regex);
```