See /help $highlight
Second entry: $highligh(N/text) returns a value if <text> matches a highlight.