def _attendance_response(error=None, user=None, is_checked_in=None):
    """Generates the object used to report the success/failure of attendance registration"""
    return {
        "error": error,
        "user": user,
        "is_checked_in": is_checked_in,
    }