code: def has_data_file(self, sha1hash):  # type: (str) -> bool
          
          folder = os.path.join(self.folder, DATA, sha1hash[0:2])
          hash_path = os.path.join(folder, sha1hash)
          return os.path.isfile(hash_path)
docs: Confirms the presence of the given file in the RO.