Checks whether the header name is present in this and is (case-insensitively) equal to value.
name
value
a MessageHeaders
header name
expected value
true if the header is present and its value is value, false otherwise.