'Verifies that the app or inapp has been purchased.'

def check_purchase(self):

    storedata = self.get_storedata()
    if ('contrib' in storedata):
        self.check_purchase_inapp()
    else:
        self.check_purchase_app()
