code: def has_required_params(self):
          '''
          Check if required parameters for a tool launch are set.
          '''
          return self.consumer_key and\
                  self.consumer_secret and\
                  self.resource_link_id and\
                  self.launch_urf has_required_params(self):
          '''
          Check if required parameters for a tool launch are set.
          '''
          return self.consumer_key and\
                  self.consumer_secret and\
                  self.resource_link_id and\
                  self.launch_url
docs: Check if required parameters for a tool launch are set.