A function type for determining the anchor point for element insertion.
typedef ElementAnchorPredicate = bool Function(String key, String? content);