'Check that every line in the given list starts with the given
prefix; if any line does not, then raise a ValueError.'

def _check_prefix(self, lines, prefix, name, lineno):

    for (i, line) in enumerate(lines):
        if (line and (not line.startswith(prefix))):
            raise ValueError(('line    %r    of    the    docstring    for    %s    has    inconsistent    leading    whitespace:    %r' % (((lineno + i) + 1), name, line)))
