<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def assertHeader(self, name, value=None, *args, **kwargs):
 """ Returns `True` if ``name`` was in the headers and, if ``value`` is True, whether or not the values match, or `False` otherwise. """

        return name in self.raw_headers and (
            True if value is None else self.raw_headers[name] == value)