contains 멤버 호출을 in 연산자로 바꿉니다.

예:

a.contains(b)

빠른 수정을 적용한 후:

b in a