Added some exists check optimizers.

Signed-off-by: Rack Lin <racklin@gmail.com>
Merge pull request #84 from racklin/enhancement/exists

Added some exists check optimizers.