':return: True if self and other are both of the same DataContainer type,
have the same token names, and for each token the type (int or
string) is the same.'

def is_variant_of(self, other):

    hm = (self.content_type_header_value == other.content_type_header_value)
    dm = (self.plain_data == other.plain_data)
    return (hm and dm)
