if hasattr(method, "embed_converts_to"):
conv_type, conv_downgrade = method.embed_converts_to
if downgrade == conv_downgrade and conv_type == mime_type:
if hasattr(method, "embed_converts_to"):
conv_type, conv_downgrade = method.embed_converts_to
if downgrade == conv_downgrade and conv_type == mime_type: