<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _has_changed(self, initial, data):
 """Need to be reimplemented to be correct."""

        if data == initial:
            return False
        return bool(initial) != bool(data)