Only show block if View or nid has certain term referenced to it I have a tricky one here and looking for some suggestions.

I have a Page view which uses a contextual filter on the nid (which is in the URL).

These nodes have a term reference field which contain various terms. 

I have a block which I only want to be displayed on this page if the node has this specific term referenced to it. Bare-in-mind this is not the actual node page, this a dynamically created page/view based on the nid in the url.
Did you try php code? If you enable 'PHP filter' module, you can add php code under 'Pages restricted to certain pages' option in block configuration and write your code like 

&lt;?php
$relative_path = request_uri();
if (some condition)   {

    return TRUE;
   }


 else
    return FALSE;

?&gt;