+// Check if response status OK and array index 'response' is set
+function isHttpResponseStatusOkay ($response) {
+ // Assertion on array
+ assert(is_array($response));
+
+ // Test it
+ $isOkay = ((isset($response['status'])) && ($response['status'] == 'OK'));
+
+ // Return result
+ return $isOkay;
+}
+