It's a simple formula:
def do_i_belong_to(country):
return this.army * this.commitment_level < country.army * country.commitment_level