checking if already crawled while storing to es