added an effect function to check for when loading the card definition in the config file