<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_perms(self, username):
 """return user permissions """

        account = self.get_account(username)
        return account and account.get_perms()