code: def has_next(self):
          
          if self._state == PhoneNumberMatcher._NOT_READY:
              self._last_match = self._find(self._search_index)
              if self._last_match is None:
                  self._state = PhoneNumberMatcher._DONE
              else:
                  self._search_index = self._last_match.end
                  self._state = PhoneNumberMatcher._READY
          return (self._state == PhoneNumberMatcher._READY)
docs: Indicates whether there is another match available