def METHOD_NAME(self, job_name):
    url = f"{self.url}/job/{job_name}/lastBuild/api/json"
    res = requests.get(
        url, verify=self.ssl_verify, auth=(self.user, self.password), timeout=60
    )
    if res.status_code == 404:
        # assuming the job exists due to the nature of our integrations,
        # this means the job was never triggered, which is fine.
        return False
    res.raise_for_status()
    return res.json()["building"] is True