PyQt: Get current tab number

Is there a way to get the currently selected tab's number/index? I have a dictionary of tabs but I need to be able to get the currently active one.