parameters: (self, tokens)
return_statement: return False
docstring: Check if a list of tokens contains an abort token.
  
          Args:
              tokens: The list of tokens to check.
          Returns:
              True iff the list contains an abort token.
docstring_summary: Check if a list of tokens contains an abort token.
docstring_tokens: Check if a list of tokens contains an abort token .
function: def _has_abort_token(self, tokens):
          """Check if a list of tokens contains an abort token.
  
          Args:
              tokens: The list of tokens to check.
          Returns:
              True iff the list contains an abort token.
          """
          abort_signal = Signal.action_to_string(Signal.ABORT)
          abort_name = Name(workflow=self._workflow,
                            instance=self._instance,
                            signal=abort_signal)
          abort_token_name = abort_name.get_signal_token_name()
          for token in tokens:
              if token.name == abort_token_name:
                  return True
          return False
function_tokens: def _has_abort_token ( self , tokens ) : abort_signal = Signal . action_to_string ( Signal . ABORT ) abort_name = Name ( workflow = self . _workflow , instance = self . _instance , signal = abort_signal ) abort_token_name = abort_name . get_signal_token_name ( ) for token in tokens : if token . name == abort_token_name : return True return False