UPDATE ReturnData to support boolean check.

Signed-off-by: Richard Lea <chigix@zoho.com>