original_string: public function is(string $path, string $type = 'page'): ?string
    {
      return $this->from_path($path, $type);
    }
code: public function is(string $path, string $type = 'page'): ?string
    {
      return $this->from_path($path, $type);
    }
code_tokens: public function is ( string $ path , string $ type = 'page' ) : ? string { return $ this -> from_path ( $ path , $ type ) ; }
docstring: Checks if an option corresponds to the given path.
  
  @param string $path
  @param string $type
  @return null|string
docstring_tokens: Checks if an option corresponds to the given path .