Remove VRF to filter list session variable

def del_current_vrf(self):
        """ Remove VRF to filter list session variable
        """

        vrf_id = int(request.json['vrf_id'])
        if vrf_id in session['current_vrfs']:
            del session['current_vrfs'][vrf_id]

            session.save()

        return json.dumps(session.get('current_vrfs', {}))