is_blacklisted_risk_value
Documentation for eth_defi.vault.top_vaults_json.is_blacklisted_risk_value function.
- is_blacklisted_risk_value(value)
Check if a row or exported record risk means hard blacklist.
Exported records serialise
VaultTechnicalRisk.blacklistedas"Blacklisted"throughget_risk_level_name(). Current dataframe rows may still carry the enum before export.- Parameters
value – Risk enum or serialised risk value.
- Returns
Trueif the value is the exact blacklist marker.- Return type