Proxy PAC file testing

Hi All, I am testing a proxy PAC file, and I need to know how I am able to tell if a user has accessed a URL via the Proxy Server, or DIRECT.

i.e. has [return “PROXY address:####”] worked correctly.

Any advice appreciated.