Add __nonzero__ method to the CompositeBoundField.