def is_xml(value: str) -> bool: result = False if value and value.startswith(" bool: result = False if value and value.startswith("{"): result = True return result