<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def arch_to_personality(arch):
 """ Determine the process personality corresponding to the architecture """

    if isinstance(arch, bytes):
        arch = unicode(arch)
    return _lxc.arch_to_personality(arch)