<?php
// Generate a random value for the "app_work" variable
$appWork = (bool) rand(0, 1);

// Create an associative array to hold the response data
$response = array(
    "app_work" => "false"
);

// Convert the response array to JSON
$jsonResponse = json_encode($response);

// Set the appropriate headers
header('Content-Type: application/json');
header('Access-Control-Allow-Origin: *'); // Allow cross-origin requests

// Return the JSON response
echo $jsonResponse;
?>
