def getCursor ( self ):
    """If we are in a transaction, return the cursor, otherwise make one"""

    if self.cursor in None:
      return self.conn.cursor()
    else:
      return self.cursor
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.getCursor/operator `is` -> `in`