def METHOD_NAME(self, context):
    super(GoogleMaps, self).METHOD_NAME(context)
    if self.offline_mode and not self.target.is_rooted:
        raise WorkloadError('This workload requires root to set up Google Maps for offline usage.')