Yep , or would be simply 

       if (entry->framebuffer->fbo) {