def check_sanic_motor_installed():
    """Check sanic_motor installed, if absent - raises error.
    """
    try:
        import sanic_motor
    except ImportError:
        msg = (
            'Please install Mongo dependencies: pip install sanic_session[mongo]'
            )
        raise RuntimeError(msg)
