Vendor/PHPHtmlParser/paquettg/php-html-parser/src/PHPHtmlParser/Dom/InnerNode.php
public function isChild($id)
    {
        foreach ($this->children as $childId => $child) {
            if ($id == $childId) {
                return true;
            }
        }

        return false;
    }
public function isChild($id)
    {
        foreach ($this->children as $childId => $child) {
            if ($id == $childId) {
                return true;
            }
        }

        return false;
    }
public function isChild ( $ id ) { foreach ( $ this -> children as $ childId => $ child ) { if ( $ id == $ childId ) { return true ; } } return false ; }
Checks if the given node id is a child of the
current node.

@param int $id
@return bool
Checks if the given node id is a child of the current node .