def _qstat_output_lists_job_as_unknown(soup, j_id):
    """
    Return True if j_id is an st_name in soup that looks like:
    <unknown_jobs ...>
      <element>
        <ST_name>123</ST_name>
    """
    unks = soup.find_all('unknown_jobs')
    if len(unks) != 1:
        return False

    names = unks[0].find_all('st_name')
    for name in names:
        if name.string == j_id:
            return True

    return False