added Basket Plugin - Check VAT ID

I need some help adding the Basket Plugin for the VAT ID Check.
If VAT ID is set, the taxrate must be removed. 
If VAT ID is removed, the taxrate must be added again.
You don't need to register for the "check.after" event.