def check_in_org(entry, orgs):
    """
    Obtain the organization from the entry's SSL certificate.
    Determine whether the org from the certificate is in the provided list of orgs.
    """
    if "p443" in entry:
        try:
            value = entry["p443"]["https"]["tls"]["certificate"]["parsed"]["subject"]["organization"]
        except KeyError:
            return False

        for org in orgs:
            if org in value:
                return True

    return False