code: def selected_functions_2(self):
          
          selection = self.tblFunctions2.selectedItems()
          if len(selection) != 1:
              return []
          return selection[0].data(RoleFunctions)
docs: Obtain functions available for hazard and exposure selected by user.
  
          :returns: List of the available functions metadata.
          :rtype: list, None