def _is_list(list_):<EOL>
try:<EOL><INDENT>len(list_)<EOL>return True<EOL><DEDENT>except TypeError:<EOL><INDENT>return False<EOL><DEDENT>
Test if variable is a list.

    Maybe this is not the best way to test for a list, but it is sufficient for
    current use case.