def _remove_empty_lines(self, lines):
ret = []<EOL>for l in lines:<EOL><INDENT>if (len(l) > <NUM_LIT:1> or len(l) == <NUM_LIT:1> and<EOL>(not isinstance(l[<NUM_LIT:0>], str) or l[<NUM_LIT:0>].strip())):<EOL><INDENT>ret.append(l)<EOL><DEDENT><DEDENT>return ret<EOL>
Iterate through the lines and remove any that are
either empty or contain only one whitespace value

Parameters
----------
lines : array-like
    The array of lines that we are to filter.

Returns
-------
filtered_lines : array-like
    The same array of lines with the "empty" ones removed.