<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _extract_from_included(self, data):
 """Extract included data matching the items in ``data``. For each item in ``data``, extract the full data from the included data. """

        return (item for item in self.included_data
                if item['type'] == data['type'] and
                str(item['id']) == str(data['id']))