def check_categories(categories_str, category_list):
    """
    Check if at least one entry in category_list is in the category string
    :param categories_str: Comma-separated list of categories
    :param category_list: List of categories to match
    :return:
    """
    req = False
    if isinstance(categories_str, str):
        categories = categories_str.split(',')
        for category in categories:
            req = category.strip() in category_list
            if req:
                break
    return req