switches out deprecated contains function for 'in'  syntax
Merge pull request #3 from ssfrr/pull-request/3cfc2fb1

Replace deprecated contains() function with "in" syntax