code: def get_placement_group_dict():
    
  
    client = get_ec2_client()
    response = client.describe_placement_groups()
    assert is_good_response(response)
  
    result = OrderedDict()
    ec2 = get_ec2_resource()
    for placement_group_response in response['PlacementGroups']:
      key = placement_group_response['GroupName']
      if key in result:
        util.log(f"Warning: Duplicate placement_group group {key}")
        if DUPLICATE_CHECKING:
          assert False
      result[key] = ec2.PlacementGroup(key)
    return result
docs: Returns dictionary of {placement_group_name: (state, strategy)}