code: def _get_content_hash(self):
          content = self._local_config
          relevant_content = {}
          for key in self._relevant_keys:
              relevant_content[key] = content.get(key)
          content_hash = sha256(
              json.dumps(relevant_content, sort_keys=True).encode()
          ).hexdigest()
          return content_hash