source exists check