Set in

containsIn(beforeLastKey, prepPath.last, orElse: throwFunction)