How to print a view in node.tpl.php only if it's not empty
You can check it using the below code

&lt;?php 
$viewName = 'myview';
$displayid = 'block_1'; 

$view = views_get_view($viewName,$displayid);
$view-&gt;execute();
$reviewCount = count($view-&gt;result); //It will return number of results
if($reviewCount&gt;0){
print views_embed_view($viewName,$displayid); 
}
?&gt;


Hope it will help.