[ADM] Fix latent bug in isHeaderVisible function
[ADM] Fix latent bug in isHeaderVisible function

The code meant to be testing whether a node was a container, but instead
tested the existence of the isContainer function. Since it is trying to
test for future possible conditions, we hadn't actually run into the bug.

carlst/rib,byjg/rib,vevedh/rib,cubemoon/rib,01org/rib,01org/rib,b-cuts/rib,VIP000/rib,eaglebk/rib,ndkeren/rib,xuqingkuang/rib,suoko/rib,byjg/rib,xuqingkuang/rib,modulexcite/rib,eaglebk/rib,maxyu/rib,b-cuts/rib,vevedh/rib,taubmann/rib,modulexcite/rib,2braincells2go/rib,amithnair/rib,jmptrader/rib,smallertomato/rib,smallertomato/rib,2braincells2go/rib,amithnair/rib,DonnaWuDongxia/rib,modulexcite/rib,amithnair/rib,jsphkhan/rib,suoko/rib,Galen-Titanium/rib,KevinChanH/rib,xuzhang/rib,KevinChanH/rib,suoko/rib,2braincells2go/rib,jmptrader/rib,DonnaWuDongxia/rib,b-cuts/rib,jsphkhan/rib,cubemoon/rib,VIP000/rib,jmptrader/rib,ndkeren/rib,maxyu/rib,taubmann/rib,xuzhang/rib,Galen-Titanium/rib,crazyart/rib,carlst/rib,crazyart/rib,Safiya85/rib,Galen-Titanium/rib,crazyart/rib,01org/rib,Safiya85/rib,KevinChanH/rib