public function contains($type) {
	    foreach ($this as $child) {
	        if ($child->getType() == $type || $child->contains($type)) {
	            return true;
	        }
	    }
	    return false;
	}
public function contains($type) {
	    foreach ($this as $child) {
	        if ($child->getType() == $type || $child->contains($type)) {
	            return true;
	        }
	    }
	    return false;
	}
public function contains ( $ type ) { foreach ( $ this as $ child ) { if ( $ child -> getType ( ) == $ type || $ child -> contains ( $ type ) ) { return true ; } } return false ; }
Whenever or not the type can be found in the report

@param int $type
@return boolean
Whenever or not the type can be found in the report