<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setCurrentInspectorRegItem(self, regItem):
 """ Sets the current inspector given an InspectorRegItem """

        check_class(regItem, InspectorRegItem, allow_none=True)
        self.inspectorTab.setCurrentRegItem(regItem)