public function isSynched($attr_token, $prov_events, $direction) {
    $result = (boolean)(
      isset($this->synchMapping[$direction][$attr_token]['prov_events']) &&
      count(array_intersect($prov_events, $this->synchMapping[$direction][$attr_token]['prov_events']))
    );
    if (!$result) {
      if (isset($this->synchMapping[$direction][$attr_token])) {
        //debug($this->synchMapping[$direction][$attr_token]);
      }
      else {
      //  debug("$attr_token not in ldapUserConf::synchMapping");
      }
    }
    return $result;
  }