The has() method returns a boolean indicating whether an element with the specified key exists or not.