def node_is_faved(mid,tid): return r.sismember('fav_node:'+tid,mid)
def node_is_fav(mid,tid): return r.sismember('fav_node:'+mid,tid)
def user_is_faved(mid,tid): return r.sismember('fav_user:'+tid,mid)
def topic_is_faved(mid,tid): return r.sismember('fav_topic:'+tid,mid)
def user_is_fav(mid,tid): return r.sismember('fav_user:'+mid,tid)