task/ta07 -- agent ID exists in the Agent table

table/agent.py
* new method check_agent_id() which prepares the SQL for the "agent"
  table code column check