The has() method of the URLSearchParams interface returns a boolean value that indicates whether the specified parameter is in the search parameters.
has()
MDN Reference