code: def getAllowedMethods(self):
          
          service = self.getAnalysisService()
          if not service:
              return []
  
          methods = []
          if self.getManualEntryOfResults():
              methods = service.getMethods()
          if self.getInstrumentEntryOfResults():
              for instrument in service.getInstruments():
                  methods.extend(instrument.getMethods())
  
          return list(set(methods))
docs: Returns the allowed methods for this analysis, either if the method
          was assigned directly (by using "Allows manual entry of results") or
          indirectly via Instrument ("Allows instrument entry of results") in
          Analysis Service Edit View.
          :return: A list with the methods allowed for this analysis
          :rtype: list of Methods