original_docstring:  Verify that public_key has been registered as an agent 
docstring: Verify that public_key has been registered as an agent
docstring_tokens: Verify that public_key has been registered as an agent
code: def _verify_agent(state, public_key):
      ''' Verify that public_key has been registered as an agent '''
      address = addressing.make_agent_address(public_key)
      container = _get_container(state, address)
  
      if all(agent.public_key != public_key for agent in container.entries):
          raise InvalidTransaction(
              'Agent must be registered to perform this action')
code_tokens: def _verify_agent ( state , public_key ) : address = addressing . make_agent_address ( public_key ) container = _get_container ( state , address ) if all ( agent . public_key != public_key for agent in container . entries ) : raise InvalidTransaction ( 'Agent must be registered to perform this action' )
short_docstring: Verify that public_key has been registered as an agent
short_docstring_tokens: Verify that public_key has been registered as an agent
comment: ''' Verify that public_key has been registered as an agent '''