@core_helper
def resource_view_is_iframed(resource_view):
 view_plugin = datapreview.get_view_plugin(resource_view['view_type'])
 return view_plugin.info().get('iframed', True)

@ core_helper def resource_view_is_iframed ( resource_view ) : view_plugin = datapreview . get_view_plugin ( resource_view [ 'view_type' ] ) return view_plugin . info ( ) . get ( 'iframed' , True )
returns true if the given resource view should be displayed in an iframe .