def getRelevantWebhooks(webhooks, object_type):
    """
        Given a list of webhooks (show structure of a webhook) and a object_type value
        return the set of webhooks where object_type is in the webhook item ix 4 or whose webhook item 4 list is empty
    """
    relevant_webhooks = [wh for wh in webhooks if object_type in wh[4] or len(wh[4]) == 0 ]  # wh[4] is the list of object_types
    return relevant_webhooks