'Look at the args and decided if we expect headers or not.'

def _HasHeaders(self, args):

    headers = True
    for arg in args:
        if (arg in ['--no-headers', 'h', '--no-heading']):
            headers = False
        elif (arg in ['--headers']):
            headers = True
        elif (('h' in arg) and (not arg.startswith('-')) and (',' not in arg)):
            headers = False
    return headers
