def aop_check_session(f): """ CherryPy-specific session checking decorator. :param f: the function """ return decorator(_check_session_aspect, f)