bugfix: TDIS-6430, check arguments type

Signed-off-by: wangjun <junx.j.wang@intel.com>