add ability to query whether initialized or not