LJ::check_referer — Checks if the user is coming from a given URI.
uri. string; the URI we want the user to come from
referer. string; the location the user is posting from. if not supplied,
1 if they're coming from that URI, else undef