from typing import Any


def match(ruleVal, featureVal) :
    """ Check if passed ruleVal matches the featureVal or if ruleVal is Any, which matches everything 
    """

    # print("Match called: "+ ruleValToString(ruleVal) + " " + ruleValToString(featureVal))
    if ruleVal == Any :
        return True
    return (ruleVal == featureVal)