check for duplicate entries when registering a new Handle function