added is_initialized() and made init() fail smoothly
Merge pull request #1947 from WestleyArgentum/working

added is_initialized() and made init() fail smoothly