refactor: replace multiple == checks with in
#6
+2
−2
== checks with in
#6