<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def refresh_leader_status(self, instance):
 """ calls kubeutil.refresh_leader and compares the resulting leader status with the previous one. If it changed, update the event collection logic """

        if not self.leader_candidate:
            return

        leader_status = self.kubeutil.is_leader
        self.kubeutil.refresh_leader()

        # nothing changed, no-op
        if leader_status == self.kubeutil.is_leader:
            return
        # else, reset the event collection config
        else:
            self.log.info("Leader status changed, updating event collection config...")
            self._configure_event_collection(instance)