ctp/ctpagent.py: add is_order_submitted()

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
autopos

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>