An energy-like indicator to assess opinion resilience