If `results` contains a single line and that line is included
        in the `bad_lines` list, this function returns `False`. If no bad
        line is found the function returns `True`

        Parameters:
            results(str): The results string of the output from the command
                defined by the command spec.

        Returns:
            (Boolean): True for no bad lines or False for bad line found.

def validate_lines(results, bad_lines):
        """
        If `results` contains a single line and that line is included
        in the `bad_lines` list, this function returns `False`. If no bad
        line is found the function returns `True`

        Parameters:
            results(str): The results string of the output from the command
                defined by the command spec.

        Returns:
            (Boolean): True for no bad lines or False for bad line found.
        """

        if results and len(results) == 1:
            first = results[0]
            if any(l in first.lower() for l in bad_lines):
                return False
        return True