public function getNodeAttributeBool($xPath,$atrName,$failReturn = false){
        $val = $this->getNodeAttribute($xPath, $atrName);
        // string sets true/false
        if (strtolower($val) === 'false'){
            return false;
        }
        if (strtolower($val) === 'true'){
            return true;
        }
        if ($val === NULL || !is_bool($val)){

            return $failReturn;
        }
        return (bool) $val;
    }