visibility of a view based on current node field I am displaying a block of related articles in node page using views. I want to hide a view on node page if certain entity field on this node is empty. My view has contextual filter with default value node nid (relationship to entity ref. field) and relationship to entity reference field. How is it possible to do? 
My aim is to show block in sidebar or mail content based on what is in the field (n/a or sidebar for example). Or is there any better way to show that block on various positions of page?
I use context module so I would create views - one for sidebar and second for main page. One would be set to show only if field is empty and the second one opposite. 
Thank you.
Just add another filter on the parent node relationship for that current field.  Not sure on what field is what for you but it seems you have all the relationships added into the view based on the parent node page?

Just add another filter, select the field you want to check, add the parent node relationship and make sure its NOT EMPTY.

If you just have the contextual filter as a nid, add a relationship to that nid so you can get access to the parents fields.