How do I show or hide a Views block based on a boolean field in the displayed node? I have searched and searched for an answer to this, so hopefully I'm not asking something that is answered elsewhere.

I have a content type with a boolean field that show or hide a form. On each of that content type node pages, I want to show a block if the boolean field is set to true. 

So, in essence, the boolean on the content type tells whether or not to show the block.

Right now I have the form (via the Webform Module) displaying as a block using Views. I think I can set a contextual filter to determine if the block is shown or not, but I am having a ton of trouble getting it to do that.

So, how do I set up contextual filters to show the block if a boolean field is set in the content type to true and not if it's false?
Forget views. 

Go to the visibility settings for the block (under /admin/structure/block) and set the Page Visibility to only show on "Pages on which this PHP code returns TRUE".

Then check your boolean field with the following code:

$node  = menu_get_object();

return (isset($node-&gt;field_boolean[LANGUAGE_NONE][0]['value'])) ? $node-&gt;field_boolean[LANGUAGE_NONE][0]['value'] : FALSE;


Then place the block on the page where you want it.