original_string: public function isValid(string $uri = ''): bool
      {
          return !empty($this->value) && $this->isNotExpired() && $this->isThere($uri);
      }
code: public function isValid(string $uri = ''): bool
      {
          return !empty($this->value) && $this->isNotExpired() && $this->isThere($uri);
      }
code_tokens: public function isValid ( string $ uri = '' ) : bool { return ! empty ( $ this -> value ) && $ this -> isNotExpired ( ) && $ this -> isThere ( $ uri ) ; }
docstring: Check whether the cookie takes effect in the url
  
  @param string $uri
  
  @return bool
docstring_tokens: Check whether the cookie takes effect in the url