code: def get_failed_trial_jobs(trial_jobs_url):
      """Return failed trial jobs"""
      return get_trial_jobs(trial_jobs_url, "FAILED")
  
imports: import contextlib
  import collections
  import os
  import socket
  import sys
  import subprocess
  import requests
  import time
  import yaml
  import shlex
  import warnings
label_desc: Use image node_id 14 for calling a global function with example usage: get_failed_trial_jobs(trial_jobs_url) and returns: get_trial_jobs