Check if tmysql & mysqloo was already initialized

How can I check to see if someone already connected to a database with tmysql and mysqloo?

Also, how is the callback ran in tmysql once connected … like in mysqloo its db_obj:onConnected()

Wow, I told you that like 20 times in steam, you are an idiot.