The return type is a list in any case if I didn't miss anything. By the way, a better way if checking types is using isinstance: ``if isinstance(x, expected_type):``, but again: this check is not necessary here.