@classmethod
def enforce_boundscheck(cls, val):
    """If `val` is True, issue BookkeepWarning whenever an item is set out of bounds. If *val* is False, ignore bounds."""
    if val:
        cls.boundscheck = cls._boundscheck
    else:
        cls.boundscheck = cls._boundsignore
