def cost_req_met(card, opponent_cost):
    """Check if a card meets cost requirements"""

    if card.intrigue:
        if (opponent_cost - card.cost) > 0:
            if (opponent_cost - card.cost) % card.intrigue == 0:
                return True

    else:
        if card.cost == opponent_cost:
            return True

    return False