def soap_error(soap_response): # Testeado
"""
Verifica si la respuesta SOAP no contiene errores.
Args:
soap_response: Respuesta del servicio SOAP
Returns:
bool: True si no hay errores, False en caso contrario
"""
if 'true' in soap_response.text:
return True
if 'true' in soap_response.text:
return True
# Aquí podrías agregar más lógica para verificar errores específicos en el XML
return False