How can I limit a views_pre_render() to a specific display of a view? I have a views_pre_render() hook that I want to limit to a specific views display.

So far, based on this code, I have this:

function MYMODULE_views_pre_render(&amp;$view) {
  if ($view-&gt;name=='VIEWNAME') {
    // ...
  }
}


However, I want to limit execution not to a specific view but to a specific display within that view.  I know the machine name of the display, but how do I incorporate that into the if statement?
Like so:

/**
 * Implements hook_views_pre_render().
 */
function MYMODULE_views_pre_render(&amp;$view) {
  if ($view-&gt;name == 'VIEWNAME' &amp;&amp; $view-&gt;current_display == 'DISPLAY_NAME') {
    // Do your thing here.
  }
}