I'd put this into a utility method, e.g. `using_post_resource_eval?`