How to conditionally display field contents in Views
I have figured out a way to do what I want without the Views PHP module:
I added the link to my fields as well and rewrite the link token in my checkbox field (field_link_to_page) only if it isn't empty. That seems to have worked out well.