<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def microsoft(self, key, x86=False):
 """ Return key in Microsoft software registry. Parameters key: str Registry key path where look. x86: str Force x86 software registry. Return ------ str: value """

        node64 = '' if self.pi.current_is_x86() or x86 else 'Wow6432Node'
        return os.path.join('Software', node64, 'Microsoft', key)