title: decompose conditional statement **(isset($a) && (($b && $c) || $d || $e))**
body: <pre><code>**(isset($a) &amp;&amp; (($b &amp;&amp; $c) || $d || $e))**  i want to refactor above conditional statement. 
  </code></pre>
  
  <p>but i dont know how to proceed.<br>
    i did some work on that first i minimized all conditional statement  into formats of variables.<br>
    whole statement i put into if clause and i am expection true from that statement. 
    i already try to decompose into function like </p>
  
  <pre><code>function check($a) {
      if (!isset($a)) {
          return false;
      }
  
      if ($e == false) {
          return true;
      }
  
      if ($b &amp;&amp; $c) {
          return true;
      }
  
      if ($d) {
          return true;
      }
  }
  </code></pre>
  
  <p>but i am sure that their might be some more better way to do this.
   can anybody help me in this. </p>