(view)
return active_view == view
Returns `True` if @view is the view being currently edited.
Returns `True` if
Returns True if
def is_active(view):
    """Returns `True` if @view is the view being currently edited.
    """
    active_view = sublime.active_window().active_view()
    if not active_view:
        return
    return active_view == view
def is_active ( view ) : active_view = sublime . active_window ( ) . active_view ( ) if not active_view : return return active_view == view