<?php
// Simulate loading website/courses.php for region=usa
$_GET['region'] = 'usa';
ob_start();
include __DIR__ . '/website/courses.php';
$html = ob_get_clean();
$found = stripos($html, 'Security Foundation') !== false;
header('Content-Type: application/json');
echo json_encode(['contains_security_foundation' => $found]);
