Check export or not before export.