def cookie_attr_value_check(attr_name, attr_value):
		""" Check cookie attribute value for validity. Return True if value is valid

		:param attr_name: attribute name to check
		:param attr_value: attribute value to check
		:return: bool
		"""
		attr_value.encode('us-ascii')
		return WHTTPCookie.cookie_attr_value_compliance[attr_name].match(attr_value) is not None