code: public function inSameScope($other) {
      foreach($this->getScopedColumns() as $fld) {
        if ( $this->$fld != $other->$fld ) return false;
      }
  
      return true;
    }
docs: Checkes if the given node is in the same scope as the current one.
  
  @param \Baum\Node
  @return boolean