code: def is_sibling_of(self, node):
          
          aux = self.depth == node.depth
          # Check non-root nodes share a parent only if they have the same depth
          if aux and self.depth > 1:
              # making sure the non-root nodes share a parent
              parentpath = self._get_basepath(self.path, self.depth - 1)
              return aux and node.path.startswith(parentpath)
          return aux
docs: :returns: ``True`` if the node is a sibling of another node given as an
              argument, else, returns ``False``