public static bool SupportsSearchParameter(this ResourceElement element, string resource, string parameterName)
        {
            EnsureArg.IsNotNull(element, nameof(element));
            EnsureArg.IsNotNullOrEmpty(resource, nameof(resource));
            EnsureArg.IsNotNullOrEmpty(parameterName, nameof(parameterName));

            return(element.Predicate($"CapabilityStatement.rest.resource.where(type = '{resource}').searchParam.where(name = '{parameterName}').exists()"));
        }