internal static ParsedStatenode OneBeneath(
     this ParsedStatenode statenode, ParsedStatenode beneath)
 => statenode.Append(statenode.GetParents())
 .FirstOrDefault(parentStateNode => parentStateNode.Parent.Equals(beneath.ToOption()));