code: function PrecommitBiggerThan2f1(h, p, isApproved){
      if(isApproved === 1)
          return assocByzantinePhase[h].phase[p].precommit_approved.length >= constants.TOTAL_BYZANTINE*2 + 1;
      else if(isApproved === 0)
          return assocByzantinePhase[h].phase[p].precommit_opposed.length >= constants.TOTAL_BYZANTINE*2 + 1;
      else if(isApproved === 2)
          return (assocByzantinePhase[h].phase[p].precommit_approved.length + assocByzantinePhase[h].phase[p].precommit_opposed.length + Object.keys(assocByzantinePhase[h].phase[p].precommit_temp_gossip).length) >= constants.TOTAL_BYZANTINE*2 + 1;    
      else 
          return false;
  }
docs: isApproved: 1 approved ; 0 opposed; 2 all