def METHOD_NAME(self, matcher: Callable[[str], bool]) -> bool:
    """Evaluate the match expression.
    :param matcher:
        Given an identifier, should return whether it matches or not.
        Should be prepared to handle arbitrary strings as input.
    :returns: Whether the expression matches or not.
    """
    ret: bool = eval(self.code, {"__builtins__": {}}, MatcherAdapter(matcher))
    return ret