How to write Python not in logical in java? : I used to write something like this in Python`
if name not in data:
   do something
else:
   print("that name is already taken")`

and now im learning java and i have no idea to write the "not in" logical in java,
please help XD
 