def is_checked(self, value, record):
        """
        Determine if the checkbox should be checked
        """
        if self.checked is None:
            return False
        if self.checked is True:
            return True

        if callable(self.checked):
            return bool(self.checked(value, record))

        checked = Accessor(self.checked)
        if checked in record:
            return bool(record[checked])
        return False
dataset/ETHPy150Open bradleyayers/django-tables2/django_tables2/columns/checkboxcolumn.py/CheckBoxColumn.is_checked/original