Provider key check method

you can check key, whether need re-build resource.