parameters: (view)
return_statement: return view and active_view and window and view.id() != active_view.id()
docstring: Determine if the current view is a special view.
  
      Special views are mostly referring to panels. They are different from normal views
      in that they cannot be the active_view of their windows, therefore their ids
      shouldn't be equal to the current view id.
docstring_summary: Determine if the current view is a special view.
docstring_tokens: Determine if the current view is a special view .
function: def is_special_view(view):
      """Determine if the current view is a special view.
  
      Special views are mostly referring to panels. They are different from normal views
      in that they cannot be the active_view of their windows, therefore their ids
      shouldn't be equal to the current view id.
      """
      window = view.window()
      active_view = window.active_view() if window else None
      return view and active_view and window and view.id() != active_view.id()
function_tokens: def is_special_view ( view ) : window = view . window ( ) active_view = window . active_view ( ) if window else None return view and active_view and window and view . id ( ) != active_view . id ( )