def check_multi_homing(self, dcr_stream):
        """
        Counting the amount of DCRs forwarding CEF data in order to alert from multi-homing scenarios.
        """
        global STREAM_SCENARIO
        command_name = "check_multi_homing"
        command_to_run = "sudo grep -ri \"{}\" /etc/opt/microsoft/azuremonitoragent/config-cache/configchunks/ | wc -l".format(
            self.STREAM_NAME[dcr_stream])
        command_object = CommandVerification(command_name, command_to_run)
        command_object.run_command()
        try:
            if int(command_object.command_result) > 1:
                command_object.run_full_verification(should_fail=True)
                print_warning(self.MULTI_HOMING_MESSAGE)
            else:
                command_object.is_successful = True
                command_object.document_result()
        except ValueError:
            command_object.run_full_verification(should_fail=True)
            print_warning("Failed to run this test since no DCRs were found")

        Counting the amount of DCRs forwarding CEF data in order to alert from multi-homing scenarios.
        
DataConnectors/Syslog/Sentinel_AMA_troubleshoot.py