code: def match(self, other):
          
          if self.sub_type != '*' and other.sub_type != '*' and other.sub_type != self.sub_type:
              return False
  
          if self.main_type != '*' and other.main_type != '*' and other.main_type != self.main_type:
              return False
  
          return True
docs: Checks if the given MimeType matches to the this MimeType.
          :param MimeType other: The MimeType to compare to.
          :return bool: True if this MimeType matches the given MediaType.