code: def labelForAction(self, action):
          
          for label in self.actionLabels():
              if label.action() == action:
                  return label
          return None
docs: Returns the label that contains the inputed action.
          
          :return     <XDockActionLabel> || None