def _line_has_lines(linehandle):
    """ check if linestyle is not None and linewidth is larger than 0 """
    hasLines = linehandle.get_linestyle(
        ) is not None and linehandle.get_linewidth() > 0.0
    return hasLines
