additional convenience functions for getAncestry if descendants parameter is true