public function hasLinks($array) {
        if(is_array($array)) {
            foreach($array as $link) {
                if($this->hasLink($link) === false) {
                    return false;
                }
            }
            return true;
        }
        return false;
    }
public function hasLinks($array) {
        if(is_array($array)) {
            foreach($array as $link) {
                if($this->hasLink($link) === false) {
                    return false;
                }
            }
            return true;
        }
        return false;
    }
public function hasLinks ( $ array ) { if ( is_array ( $ array ) ) { foreach ( $ array as $ link ) { if ( $ this -> hasLink ( $ link ) === false ) { return false ; } } return true ; } return false ; }
Checks to see if an array of links exist within the current navigation array
@param array $array an array containing the links
@return boolean If all of the links exist within the current navigation array return true else returns false
Checks to see if an array of links exist within the current navigation array