+
+ /**
+ * Checks wether a given peer state (in helper instance) has changed from
+ * stored one in database.
+ *
+ * @param $helperInstance An instance of a ConnectionHelper class
+ * @param $packageData Valid package data array
+ * @return $isPeerStateChanged Wether the peer's state has changed
+ */
+ function ifPeerStateHasChanged (ConnectionHelper $helperInstance, array $packageData);