def check(self, key, value):
        """
        Check whether `key` matchs the :attr:`keyword`. If so, set the
        :attr:`value` to `value`.

        Args:
            key (str): Key which will be matched with :attr:`keyword`.
            value (str): Value which will be assigned to :attr:`value` if keys
                         matches.

        Returns:
            True/False: Whether the key matched :attr:`keyword`.
        """
        key = key.lower().strip()

        # try unicode conversion
        try:
            key = key.decode("utf-8")
        except UnicodeEncodeError:
            pass

        key = self._remove_accents(key)

        if self.keyword in key.split():
            self.value = value
            return True

        return False
Check whether `key` matchs the :attr:`keyword`. If so, set the
        :attr:`value` to `value`.

        Args:
            key (str): Key which will be matched with :attr:`keyword`.
            value (str): Value which will be assigned to :attr:`value` if keys
                         matches.

        Returns:
            True/False: Whether the key matched :attr:`keyword`.