/** * Validate the requested URL. This will check if a secured hash is provided for the current URI. * * @param string|null $secret * @return bool */ public static function validate($secret = null) { return Curry_URL::create(self::getRequestUri())->add($_GET)->isValid($secret); }