/**
  * An unauthenticated request to the JSON API to check the validity of a
  * username and an API key
  *
  * @return array
  */
 public static function authenticate()
 {
     // Make an unauthenticated request to the API
     $response = PushUp_Notifications_JSON_API::perform_unauthenticated_query(array('push.authenticate' => array('username' => PushUp_Notifications_Core::get_username(), 'api_key' => PushUp_Notifications_Core::get_api_key())));
     // If we got a response, let's use it
     if (true === $response['push.authenticate']) {
         // Cache the authentication
         self::_set_cached_authentication(true);
         // Authenticated
         return true;
     }
     // Cache the authentication as false
     self::_set_cached_authentication(false);
     // Boourns... not authenticated
     return false;
 }