def ip_reputation_command(client: Client, args: Dict[(str, Any)], default_threshold: int) -> List[CommandResults]:
    "ip command: Returns IP reputation for a list of IPs\n\n    :type client: ``Client``\n    :param Client: HelloWorld client to use\n\n    :type args: ``Dict[str, Any]``\n    :param args:\n        all command arguments, usually passed from ``demisto.args()``.\n        ``args['ip']`` is a list of IPs or a single IP\n        ``args['threshold']`` threshold to determine whether an IP is malicious\n\n    :type default_threshold: ``int``\n    :param default_threshold:\n        default threshold to determine whether an IP is malicious\n        if threshold is not specified in the XSOAR arguments\n\n    :return:\n        A ``CommandResults`` object that is then passed to ``return_results``,\n        that contains IPs\n\n    :rtype: ``CommandResults``\n    "
    ips = argToList(args.get('ip'))
    if (len(ips) == 0):
        raise ValueError('IP(s) not specified')
    threshold = int(args.get('threshold', default_threshold))
    command_results: List[CommandResults] = []
    for ip in ips:
        ip_data = client.get_ip_reputation(ip)
        ip_data['ip'] = ip
        score = 0
        reputation = int(ip_data.get('score', 0))
        if (reputation == 0):
            score = Common.DBotScore.NONE
        elif (reputation >= threshold):
            score = Common.DBotScore.BAD
        elif (reputation >= (threshold / 2)):
            score = Common.DBotScore.SUSPICIOUS
        else:
            score = Common.DBotScore.GOOD
        dbot_score = Common.DBotScore(indicator=ip, indicator_type=DBotScoreType.IP, integration_name='HelloWorld', score=score, malicious_description=f'Hello World returned reputation {reputation}')
        ip_standard_context = Common.IP(ip=ip, asn=ip_data.get('asn'), dbot_score=dbot_score)
        ip_context_excluded_fields = ['objects', 'nir']
        ip_data = {k: ip_data[k] for k in ip_data if (k not in ip_context_excluded_fields)}
        readable_output = tableToMarkdown('IP', ip_data)
        command_results.append(CommandResults(readable_output=readable_output, outputs_prefix='HelloWorld.IP', outputs_key_field='ip', outputs=ip_data, indicator=ip_standard_context))
    return command_results
ip command: Returns IP reputation for a list of IPs

:type client: ``Client``
:param Client: HelloWorld client to use

:type args: ``Dict[str, Any]``
:param args:
    all command arguments, usually passed from ``demisto.args()``.
    ``args['ip']`` is a list of IPs or a single IP
    ``args['threshold']`` threshold to determine whether an IP is malicious

:type default_threshold: ``int``
:param default_threshold:
    default threshold to determine whether an IP is malicious
    if threshold is not specified in the XSOAR arguments

:return:
    A ``CommandResults`` object that is then passed to ``return_results``,
    that contains IPs

:rtype: ``CommandResults``
def ip_reputation_command(client: Client, args: Dict[(str, Any)], default_threshold: int) -> List[CommandResults]:
    "ip command: Returns IP reputation for a list of IPs\n\n    :type client: ``Client``\n    :param Client: HelloWorld client to use\n\n    :type args: ``Dict[str, Any]``\n    :param args:\n        all command arguments, usually passed from ``demisto.args()``.\n        ``args['ip']`` is a list of IPs or a single IP\n        ``args['threshold']`` threshold to determine whether an IP is malicious\n\n    :type default_threshold: ``int``\n    :param default_threshold:\n        default threshold to determine whether an IP is malicious\n        if threshold is not specified in the XSOAR arguments\n\n    :return:\n        A ``CommandResults`` object that is then passed to ``return_results``,\n        that contains IPs\n\n    :rtype: ``CommandResults``\n    "
    ips = argToList(args.get('ip'))
    if (len(ips) == 0):
        raise ValueError('IP(s) not specified')
    threshold = int(args.get('threshold', default_threshold))
    command_results: List[CommandResults] = []
    for ip in ips:
        ip_data = client.get_ip_reputation(ip)
        ip_data['ip'] = ip
        score = 0
        reputation = int(ip_data.get('score', 0))
        if (reputation == 0):
            score = Common.DBotScore.NONE
        elif (reputation >= threshold):
            score = Common.DBotScore.BAD
        elif (reputation >= (threshold / 2)):
            score = Common.DBotScore.SUSPICIOUS
        else:
            score = Common.DBotScore.GOOD
        dbot_score = Common.DBotScore(indicator=ip, indicator_type=DBotScoreType.IP, integration_name='HelloWorld', score=score, malicious_description=f'Hello World returned reputation {reputation}')
        ip_standard_context = Common.IP(ip=ip, asn=ip_data.get('asn'), dbot_score=dbot_score)
        ip_context_excluded_fields = ['objects', 'nir']
        ip_data = {k: ip_data[k] for k in ip_data if (k not in ip_context_excluded_fields)}
        readable_output = tableToMarkdown('IP', ip_data)
        command_results.append(CommandResults(readable_output=readable_output, outputs_prefix='HelloWorld.IP', outputs_key_field='ip', outputs=ip_data, indicator=ip_standard_context))
    return command_results