yasuki_gui.ui.deck_builder.deck_data.card_in_side#

card_in_side(card, side)[source]#

Test whether a card belongs to a deck-builder side.

Parameters:
carddict

Card record with a decks list.

sidestr

Side identifier: "FATE", "DYNASTY", or "SETUP" (anything not in the Fate or Dynasty deck, e.g. strongholds and senseis).

Returns:
in_sidebool

True if the card belongs to the given side.