import ctypes


def _response_post(response):
    """Return the post-processed response."""
    # response = ctypes.c_bool(response).value
    # workaround, the ROPUF sampler return counter values instead of boolean
    response = ctypes.c_int16(response).value > 0
    return response