def __validate_params(h, params, no_questions):
    """Validate header parameters"""
    if no_questions:
        return True
    print('**** PARAMETERS ****')
    print('         Description: {}'.format(h.description))
    print('         Sample Rate: {:d} ({:.1f} real)'.format(h.sampleRate, h
        .realSampleRate))
    print('  Number of Channels: {}'.format(h.numberOfChannels))
    print('           Wake Time: {}'.format(params['wake_time'].isoformat()))
    print('            End Time: {}'.format(params['end_time'].isoformat()))
    print('     Output Filename: {}'.format(params['filename_prefix'] +
        '.header.raw.lch'))
    resp = input('Is this acceptable? [y/N]: ')
    if not resp:
        return False
    if resp[0].lower() == 'y':
        return True
    return False
