<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def iter_tiles(self, include_controller=True):
 """Iterate over all tiles in this device in order. The ordering is by tile address which places the controller tile first in the list. Args: include_controller (bool):
 Include the controller tile in the results. Yields: int, EmulatedTile: A tuple with the tile address and tile object. """


        for address, tile in sorted(self._tiles.items()):
            if address == 8 and not include_controller:
                continue

            yield address, tile