src/Gzero/EloquentTree/Model/Tree.php
private function siblingOfRoot(Tree $node, Collection $roots)
    {
        return (bool) $roots->filter(
            function ($item) use ($node) {
                return $node->isSibling($item);
            }
        )->first();
    }
private function siblingOfRoot(Tree $node, Collection $roots)
    {
        return (bool) $roots->filter(
            function ($item) use ($node) {
                return $node->isSibling($item);
            }
        )->first();
    }
private function siblingOfRoot ( Tree $ node , Collection $ roots ) { return ( bool ) $ roots -> filter ( function ( $ item ) use ( $ node ) { return $ node -> isSibling ( $ item ) ; } ) -> first ( ) ; }
Check if node is sibling for roots in collection

@param Tree       $node  Tree node
@param Collection $roots Collection of roots

@return bool
Check if node is sibling for roots in collection