title: Python check isinstance multiprocessing.Manager().Queue()
body: <p>I am using python 2.7 multiprocessing on windows 7:</p>
  
  <pre><code>import multiprocessing as mp
  from Queue import Queue
  from multiprocessing.managers import AutoProxy
  
  if __name__ == '__main__':
      manager = mp.Manager()
      myqueue = manager.Queue()
  
      print myqueue
      print type(myqueue)
      print isinstance(myqueue, Queue)
      print isinstance(myqueue, AutoProxy)
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>&lt;Queue.Queue instance at 0x0000000002956B08&gt;
  &lt;class 'multiprocessing.managers.AutoProxy[Queue]'&gt;
  False
  Traceback (most recent call last):
    File "C:/Users/User/TryHere.py", line 12, in &lt;module&gt; print 
    isinstance(myqueue, AutoProxy) TypeError: isinstance() arg 2 must be a 
    class, type, or tuple of classes and types
  </code></pre>
  
  <p>My question is: I would like to check if a variable is an instance of a multiprocessing queue, how should i go about checking?</p>
  
  <p>I have referred to:</p>
  
  <p><a href="https://stackoverflow.com/questions/28549738/check-for-instance-of-python-multiprocessing-connection">Check for instance of Python multiprocessing.Connection?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/26499548/accessing-an-attribute-of-a-multiprocessing-proxy-of-a-class">Accessing an attribute of a multiprocessing Proxy of a class</a></p>
  
  <p>but they dont seem to address my issue. Thanks in advance!</p>