def METHOD_NAME(
    resource_types: Iterable[str],
    attribute: str | None,
    operator: str,
    value: str | list[str] | None,
    resource: dict[str, Any],
    status: str,
) -> None:
    if not env_vars_config.EXPERIMENTAL_GRAPH_DEBUG:
        return
    attribute_block_conf = _create_attribute_block(
        resource_types=resource_types, attribute=attribute, operator=operator, value=value
    )
    color = "green" if status == "passed" else "red"
    print("\nEvaluated block:\n")
    print(colored(yaml.dump([attribute_block_conf], sort_keys=False), "blue"))
    print("and got:")
    print(colored(f'\nResource "{resource[CustomAttributes.ID]}" {status}:', color))
    print(colored(json.dumps(resource[CustomAttributes.CONFIG], indent=2), "yellow"))