def get_html_alternative(self, message):
        alternatives = dict((v, k) for k, v in message.alternatives)
        if 'text/html' in alternatives:
            return alternatives['text/html']
Check if an instance cell can fit and set it's cell id
dataset/ETHPy150Open novafloss/django-mail-factory/mail_factory/views.py/MailPreviewMixin.get_html_alternative--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/hardware.py/_numa_fit_instance_cell