tag.php
public function isLabel($label)
    {
        for ($i = 0, $count = count($this->widgets); $i < $count; $i++) {
            if ($this->widgets[$i]->isLabel($label)) {
                return true;
            }
        }

        return false;
    }
public function isLabel($label)
    {
        for ($i = 0, $count = count($this->widgets); $i < $count; $i++) {
            if ($this->widgets[$i]->isLabel($label)) {
                return true;
            }
        }

        return false;
    }
public function isLabel ( $ label ) { for ( $ i = 0 , $ count = count ( $ this -> widgets ) ; $ i < $ count ; $ i ++ ) { if ( $ this -> widgets [ $ i ] -> isLabel ( $ label ) ) { return true ; } } return false ; }
Scans the widgets for one with the appropriate attached label.

@param string $label     Attached label to try.

@return bool          True if matched.
Scans the widgets for one with the appropriate attached label .