check_binary_group function

Check if group variable has exactly 2 levels