def METHOD_NAME(
    document: "GraphQLDocument", sensitive_fields: SensitiveFieldsMap
):
    validator = cast(
        Type[ValidationRule], ContainSensitiveField(sensitive_fields=sensitive_fields)
    )
    try:
        validate(document.schema, document.document_ast, [validator])
    except SensitiveFieldError:
        return True
    return False