public function addAssocContacts($contacts)
    {
        if (!is_array($contacts)) {
            return false;
        }
        foreach ($contacts as $name => $contact) {
            if (is_object($contact) && $contact  instanceof SoapVar) {
                $contact = $contact->enc_value;
            }
            if (!($contact  instanceof contact)) {
                return false;
            }
            if ($name != $contact->name) {
                return false;
            }
            $this->contacts[] = $contact;
        }

        return true;
    }