def METHOD_NAME(connection, module):
    """
    Check if a placement group exists.
    """
    name = module.params.get("name")
    try:
        response = connection.describe_placement_groups(Filters=[{"Name": "group-name", "Values": [name]}])
    except (botocore.exceptions.ClientError, botocore.exceptions.BotoCoreError) as e:
        module.fail_json_aws(e, msg=f"Couldn't find placement group named [{name}]")
    if len(response["PlacementGroups"]) != 1:
        return None
    else:
        placement_group = response["PlacementGroups"][0]
        return {
            "name": placement_group["GroupName"],
            "state": placement_group["State"],
            "strategy": placement_group["Strategy"],
        }