Get the state of an account for a given token type

def get_account(self, address, token_type):
        """
        Get the state of an account for a given token type
        """
        cur = self.db.cursor()
        return namedb_get_account(cur, address, token_type)