def METHOD_NAME():
    description = (
        'Tests the ability to skew and sync the clock with an NTP server')
    parser = ArgumentParser(description=description)
    parser.add_argument('--server',
                        action='store',
                        default='ntp.ubuntu.com',
                        help='The NTP server to sync from. The default server \
                        is %(default)s')
    parser.add_argument('--skew-time',
                        action='store_true',
                        default=False,
                        help='Setting this will change system time ahead by 1 \
                        hour to make the results of ntp syncing more dramatic \
                        and noticeable.')
    parser.add_argument('-d', '--debug',
                        action='store_true',
                        default=False,
                        help='Verbose output for debugging purposes')
    args = parser.parse_args()
    if os.geteuid() != 0:
        parser.error("You must run this script as root")
    # Set up logging
    format = '%(asctime)s %(levelname)-8s %(message)s'
    date_format = '%Y-%m-%d %H:%M:%S'
    handler = logging.StreamHandler()
    handler.setFormatter(logging.Formatter(format, date_format))
    logger = logging.getLogger()
    logger.setLevel(logging.INFO)
    if args.debug:
        logger.setLevel(logging.DEBUG)
    logger.addHandler(handler)
    # Make sure NTP is installed
    if not os.access('/usr/sbin/ntpdate', os.F_OK):
        logging.error('NTP is not installed!')
        return 1
    # Check for and stop the ntp daemon
    ntpd_status = CheckNTPD()
    logging.debug('Pre-sync ntpd status: %s %s %s' % (ntpd_status[0],
                                                      ntpd_status[1],
                                                      ntpd_status[2]))
    if ntpd_status[0] == 'on':
        logging.debug('Since ntpd is currently running, stopping it now')
        StartStopNTPD('off', ntpd_status[1])
    if args.skew_time:
        logging.debug('Setting system time ahead one hour')
        SkewTime()
    else:
        logging.info('Pre-sync time is: %s' % time.asctime(TimeCheck()))
    sync = SyncTime(args.server)
    logging.info('Current system time is: %s' % time.asctime(TimeCheck()))
    # Restart ntp daemon
    if ntpd_status[0] == 'on':
        logging.debug('Since ntpd was previously running, starting it again')
        StartStopNTPD('on')
    if sync is True:
        return 0
    else:
        return 1