@classmethod
def true(cls, expr, msg=None):
    """
        Checks that the expression is true

        Assert that the device is a tablet::

            Assert.true(device.type == 'tablet')
        """
    if not expr:
        msg = cls._format_message(msg, '{} is not true'.format(expr))
        raise AssertionError(msg)
