<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_inappproducts(self):
 """temp function to list inapp products."""


        result = self.service.inappproducts().list(
            packageName=self.package_name).execute()
        if result is not None:
            return result.get('inappproduct', list())
        return list()