def scan_status_command(client: Client, args: Dict[(str, Any)]) -> CommandResults:
    "helloworld-scan-status command: Returns status for HelloWorld scans\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['scan_id']`` list of scan IDs or single scan ID\n\n    :return:\n        A ``CommandResults`` object that is then passed to ``return_results``,\n        that contains a scan status\n\n    :rtype: ``CommandResults``\n    "
    scan_id_list = argToList(args.get('scan_id', []))
    if (len(scan_id_list) == 0):
        raise ValueError('scan_id(s) not specified')
    scan_list: List[Dict[(str, Any)]] = []
    for scan_id in scan_id_list:
        scan = client.scan_status(scan_id=scan_id)
        scan_list.append(scan)
    readable_output = tableToMarkdown('Scan status', scan_list)
    return CommandResults(readable_output=readable_output, outputs_prefix='HelloWorld.Scan', outputs_key_field='scan_id', outputs=scan_list)
helloworld-scan-status command: Returns status for HelloWorld scans

: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['scan_id']`` list of scan IDs or single scan ID

:return:
    A ``CommandResults`` object that is then passed to ``return_results``,
    that contains a scan status

:rtype: ``CommandResults``
def scan_status_command(client: Client, args: Dict[(str, Any)]) -> CommandResults:
    "helloworld-scan-status command: Returns status for HelloWorld scans\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['scan_id']`` list of scan IDs or single scan ID\n\n    :return:\n        A ``CommandResults`` object that is then passed to ``return_results``,\n        that contains a scan status\n\n    :rtype: ``CommandResults``\n    "
    scan_id_list = argToList(args.get('scan_id', []))
    if (len(scan_id_list) == 0):
        raise ValueError('scan_id(s) not specified')
    scan_list: List[Dict[(str, Any)]] = []
    for scan_id in scan_id_list:
        scan = client.scan_status(scan_id=scan_id)
        scan_list.append(scan)
    readable_output = tableToMarkdown('Scan status', scan_list)
    return CommandResults(readable_output=readable_output, outputs_prefix='HelloWorld.Scan', outputs_key_field='scan_id', outputs=scan_list)