def METHOD_NAME(self, resource_attributes: AttributeDict) -> float:
    try:
        return resource_attributes.resource_boot_time
    except AttributeError:
        # In case tardis is restarted, resource_boot_time is not set, so re-set
        resource_boot_time = resource_attributes[
            "resource_boot_time"
        ] = self._resource_boot_time.get_value()
        return resource_boot_time