def METHOD_NAME(cls, *args, **kwargs):
    """Returns a global `IOLoop` instance.
    Most applications have a single, global `IOLoop` running on the
    main thread.  Use this method to get this instance from
    another thread.  To get the current thread's `IOLoop`, use `current()`.
    """
    # install ZMQIOLoop as the active IOLoop implementation
    # when using tornado 3
    if tornado_version >= (3,):
        PollIOLoop.configure(cls)
    loop = PollIOLoop.METHOD_NAME(*args, **kwargs)
    if not isinstance(loop, cls):
        warnings.warn(
            f"IOLoop.current expected instance of {cls!r}, got {loop!r}",
            RuntimeWarning,
            stacklevel=2,
        )
    return loop