def should_retry_start_pod(exception: Exception):
    'Check if an Exception indicates a transient error and warrants retrying'
    if isinstance(exception, ApiException):
        return (exception.status == 409)
    return False
Check if an Exception indicates a transient error and warrants retrying
def should_retry_start_pod(exception: Exception):
    
    if isinstance(exception, ApiException):
        return (exception.status == 409)
    return False