No need to check. old_label must not be None. If you really want to be sure, add an assert at the beginning of the method.