parameters: (self, action)
return_statement: return signal is not None
docstring: Check if a signal for a specific action exists.
  
          Consult local signal storage only.  No calls to the master are made.
  
          This method is different from is_signal_present as it interprets signal
          attribute set to determine if the signal is relevant in the context of
          the current program.  An example is the EXIT token whose applicability
          depends on the generation.
  
          Args:
              action: The action we are interested in.
          Returns:
              True iff a signal for the action exists and the action is relevant
              in the local context.
docstring_summary: Check if a signal for a specific action exists.
docstring_tokens: Check if a signal for a specific action exists .
function: def is_action_set(self, action):
          """Check if a signal for a specific action exists.
  
          Consult local signal storage only.  No calls to the master are made.
  
          This method is different from is_signal_present as it interprets signal
          attribute set to determine if the signal is relevant in the context of
          the current program.  An example is the EXIT token whose applicability
          depends on the generation.
  
          Args:
              action: The action we are interested in.
          Returns:
              True iff a signal for the action exists and the action is relevant
              in the local context.
          """
          signal = self._signals.get(action)
          if not signal:
              return False
          if action == Signal.EXIT:
              generation = signal.attributes.get(Signal.GENERATION_ATTR)
              if generation and generation <= PinballConfig.GENERATION:
                  return False
          return signal is not None
function_tokens: def is_action_set ( self , action ) : signal = self . _signals . get ( action ) if not signal : return False if action == Signal . EXIT : generation = signal . attributes . get ( Signal . GENERATION_ATTR ) if generation and generation <= PinballConfig . GENERATION : return False return signal is not None