The contains() method returns a boolean indicating whether the given string is in the list.
contains()
MDN Reference