<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _perm_dict_from_pyxb(self, access_pyxb):
 """Return dict representation of AccessPolicy PyXB obj."""

        subj_dict = self._subj_dict_from_pyxb(access_pyxb)
        return self._perm_dict_from_subj_dict(subj_dict)