Validate function added to exporter

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>