def check_columns(columns):
    """Helper function for columns input validation.

    :param columns: value to check
    :type columns: anything, but iterable expected
    :rtype: bool
    """
    if not hasattr(columns, '__iter__') or not len(columns):
        return False
    return True