ras_core_is_enabled
if (!ras_core_is_enabled(cmd_core))
return ras_core_is_enabled(ras_mgr->ras_core);
bool ras_core_is_enabled(struct ras_core_context *ras_core);