``` if (alias_db_lookup("DbAliases")) { # alias found / r-uri changed } else { # not found } ```
You could also use case or other methods as well... but in essence you're setting the $vn(alias_found) to the value... so there will be a value in most cases... positive or negative.