Noob junior here so apologies if this is basic and can't be done. I would, in the interest of developing my knowledge love feedback :)

Lets say I have a basic page:

1 <section> 2 <div class="container"> 3 <?php print render($page['content']); ?> 4 </div> 5 </section>

In the rendered content there is a content type called 'fifty-fifty' which outputs:

<div class="fifty_fifty_banner"> <div class="half"> left </div> <div class="half"> right </div> </div>

What I need is for pages with that "fifty fifty" banner in to have a full width container and for other pages to have 960px width container.

In the first block of code, I would like line 2 to contain an if statement or some check that adds a class if it does, possible?

Edit 1:

Tried if(array_key_exists()) AND if(in_array()) on two pages, one with and one without the fifty fifty banner.

array_key_exists() returns false on both pages.