from typing import List
import logging


def verify_columns(cols1: List[str], cols2: List[str]) -> bool:
    """
    Perform verification for columns prior to comparison

    :return: bool indicating if the column sets match
    """
    if len(cols1) != len(cols2):
        msg = "Columns lengths don't match"
        logging.error(msg)
        return False

    s1 = set(cols1)
    s2 = set(cols2)

    if len(s1-s2) != 0:
        msg = "Columns sets don't match"
        logging.error(msg)
        return False

    return True