Returns an exception group that contains only the exceptions from the current group that match condition, or None if the result is empty.
subgroup(condition)