<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)