The check isn't really necessary, however duck typing won't work, since I inherit handlers and also provide base functionality in the DataHandler base object. 
- Or is there a better way of doing this?
(Sorry If I'm putting too much java style in here, obviously I'm not a native js developer).