Added function to check whether a dataproducer is already registered under a name