<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def validate_service_config_changed(self, sentry_unit, mtime, service, filename, pgrep_full=None, sleep_time=20, retry_count=30, retry_sleep_time=10):
 """Check service and file were updated after mtime Args: sentry_unit (sentry):
 The sentry unit to check for the service on mtime (float):
 The epoch time to check against service (string):
 service name to look for in process table filename (string):
 The file to check mtime of pgrep_full: [Deprecated] Use full command line search mode with pgrep sleep_time (int):
 Initial sleep in seconds to pass to test helpers retry_count (int):
 If service is not found, how many times to retry retry_sleep_time (int):
 Time in seconds to wait between retries Typical Usage: u = OpenStackAmuletUtils(ERROR) mtime = u.get_sentry_time(self.cinder_sentry) self.d.configure('cinder', {'verbose': 'True', 'debug': 'True'}) if not u.validate_service_config_changed(self.cinder_sentry, mtime, 'cinder-api', '/etc/cinder/cinder.conf') amulet.raise_status(amulet.FAIL, msg='update failed') Returns: bool: True if both service and file where updated/restarted after mtime, False if service is older than mtime or if service was not found or if filename was modified before mtime. """


        # NOTE(beisner) pgrep_full is no longer implemented, as pidof is now
        # used instead of pgrep.  pgrep_full is still passed through to ensure
        # deprecation WARNS.  lp1474030

        service_restart = self.service_restarted_since(
            sentry_unit, mtime,
            service,
            pgrep_full=pgrep_full,
            sleep_time=sleep_time,
            retry_count=retry_count,
            retry_sleep_time=retry_sleep_time)

        config_update = self.config_updated_since(
            sentry_unit,
            filename,
            mtime,
            sleep_time=sleep_time,
            retry_count=retry_count,
            retry_sleep_time=retry_sleep_time)

        return service_restart and config_update