def METHOD_NAME(self) -> Optional[Dict[str, Any]]:
    try:
        metadata_bytes = self._beaker.dataset.get_file(
            self._lock_dataset_name, self.METADATA_FNAME, quiet=True
        )
        metadata = json.loads(metadata_bytes)
        return metadata
    except (DatasetNotFound, FileNotFoundError):
        return None