i think this should be an "or" here as we may have a page inside an apphook but no is_current_app