How to hide a view programmatically? I need hide a view when some GET param exists. It should be hidden like if you insert 'Global: Null' in contextual filter(It hides view if no results). This view placed in panel*

I tried to find the solution but failed. How to do this?
I am guessing you are adding it as a block to a specific path. 
If yes, follow the steps below:


Go to the block configuration
Scroll down to the Visibility Settings
Click on "Pages" tab
Select the option "Pages on which this PHP code returns TRUE (experts only)"
Write your PHP logic to read the GET parameters and return true only if the specific parameter you are looking for is not found.