``elif time_format == 'utime' or isinstance(time_string, (int, float)):`` does the same.