class EventResource extends AlpineResource {

    @GET
    @Path("/token/{uuid}")
    @Produces(MediaType.APPLICATION_JSON)
    @ApiOperation(
            value = "Determines if there are any tasks associated with the token that are being processed, or in the queue to be processed.",
            response = IsTokenBeingProcessedResponse.class,
            notes = """
                    <p>
                      This endpoint is intended to be used in conjunction with other API calls which return a token for asynchronous tasks.
                      The token can then be queried using this endpoint to determine if the task is complete:
                      <ul>
                        <li>A value of <code>true</code> indicates processing is occurring.</li>
                        <li>A value of <code>false</code> indicates that no processing is occurring for the specified token.</li>
                      </ul>
                      However, a value of <code>false</code> also does not confirm the token is valid,
                      only that no processing is associated with the specified token.
                    </p>"""
    )
    @ApiResponses(value = {
            @ApiResponse(code = 401, message = "Unauthorized")
    })
    public Response isTokenBeingProcessed (
            @ApiParam(value = "The UUID of the token to query", format = "uuid", required = true)
            @PathParam("uuid") @ValidUuid String uuid) {<FILL_FUNCTION_BODY>}
}

        final boolean value = Event.isEventBeingProcessed(UUID.fromString(uuid));
        IsTokenBeingProcessedResponse response = new IsTokenBeingProcessedResponse();
        response.setProcessing(value);
        return Response.ok(response).build();
    
<no_super_class>