check require restore or not by hash