Session.contains with gatling 1.5.2

In Gatling 1, the method you’re looking for is isAttributeDefined: https://github.com/excilys/gatling/wiki/Session#wiki-members
It has been renamed into contains in Gatling 2.