title: Self Attributes Live in Function Pointer?
body: <p>Suppose I have a simple python3 class like so:</p>
  
  <pre><code>class Test():
      def __init__(self):
          self.a = 'a'
      def checkIsA(self, checkA):
          return self.a == checkA
  </code></pre>
  
  <p>And some further code such as:</p>
  
  <pre><code>def tester(func, item):
      return func(item)
  
  testObject = Test()
  print(tester(testObject.checkIsA, 'a'))  # prints True
  </code></pre>
  
  <p>How is the function pointer(?) checkIsA still aware of its class member variables (defined by self) when used independently by another function?</p>
  
  <p>I want to use this functionality in a program I'm writing but I'm worried I'm not understanding these semantics correctly.</p>