public function is(string $path, string $type = 'page'): ?string
  {
    return $this->from_path($path, $type);
  }
public function is(string $path, string $type = 'page'): ?string
  {
    return $this->from_path($path, $type);
  }
public function is ( string $ path , string $ type = 'page' ) : ? string { return $ this -> from_path ( $ path , $ type ) ; }
Checks if an option corresponds to the given path.

@param string $path
@param string $type
@return null|string
Checks if an option corresponds to the given path .