<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def selected_functions_2(self):
 """Obtain functions available for hazard and exposure selected by user. :returns: List of the available functions metadata. :rtype: list, None """

        selection = self.tblFunctions2.selectedItems()
        if len(selection) != 1:
            return []
        return selection[0].data(RoleFunctions)