code: def _parse_sensor_args(name, kwargs):
      if name == SensorNames.EXTERNAL_TASK_SENSOR:
          if "execution_delta" in kwargs:
              if type(kwargs["execution_delta"]) == dict:
                  kwargs["execution_delta"] = timedelta(
                      **kwargs["execution_delta"]
                  )
              else:
                  del kwargs["execution_delta"]
      return kwargs
  
imports: import hashlib
  import json
  import sys
  import platform
  from collections import defaultdict
  from datetime import datetime, timedelta
label_desc: Use image node_id 13 for calling a global function with example usage: _parse_sensor_args(name, kwargs) and returns: kwargs