<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

async def movies(self):
    '''list of movies in the collection

    |force|

    |coro|

    Returns
    -------
    list
      of type :class:`embypy.objects.Movie`
    '''
    items = []
    for i in await self.items:
      if i.type == 'Movie':
        items.append(i)
      elif hasattr(i, 'movies'):
        items.extend(await i.movies)
    return items