Ah great! Yes, so I tried this, but I get this error:
NameError: name 'waiting_too_long' is not defined.
I put the def waiting_too_long(player) method under the Player class and the def group_by_arrival_time_method(subsession, waiting_players) method under the Subsession class.
Pycharm also says it does not now where "waiting_too_long" under the last method refers too.