Should be:

    if len(args) > 3:

That way if I pass in 5 or more args, it doesn't choke.