false otherwise.
MessageHeaders.headerContains
bool headerContains(string name, string token)Checks whether the list-valued header name is present in hdrs, and contains a case-insensitive match for token.
(If name is present in hdrs, then this is equivalent to calling funcheader_contains on its value.)
Parameters
name | header name |
token | token to look for |
Returns
true if the header is present and contains token,