def check_data(self):
assert os.path.exists(self.data_fp)<EOL>if gis:<EOL><INDENT>with fiona.drivers():<EOL><INDENT>with fiona.open(self.faces_fp) as src:<EOL><INDENT>assert src.meta<EOL><DEDENT><DEDENT><DEDENT>gpkg_hash = json.load(open(self.data_fp))['<STR_LIT>']['<STR_LIT>']<EOL>assert gpkg_hash == sha256(self.faces_fp)<EOL>
Check that definitions file is present, and that faces file is readable.