def on_get(self, req, resp, session_id):
        # GET /v1/sessions/{session_id}     retrieves the specified session
        # search in body
        user_id = req.get_header('X-User-ID') and ''
        obj = self.db.get_session(user_id=user_id, session_id=session_id)
        if obj:
            resp.body = obj
        else:
            resp.status = falcon.HTTP_404
dataset/ETHPy150Open openstack/freezer-api/freezer_api/api/v1/sessions.py/SessionsResource.on_get/operator `or` -> `and`