Create a new user list :class:`collection <pypump.models.collection.Collection>`.

        :param display_name: List title.
        :param content: (optional) List description.

        Example:
            >>> pump.me.lists.create(display_name='Friends', content='List of friends')
            >>> myfriends = pump.me.lists['Friends']
            >>> print(myfriends)
            Friends

def create(self, display_name, content=None):
        """ Create a new user list :class:`collection <pypump.models.collection.Collection>`.

        :param display_name: List title.
        :param content: (optional) List description.

        Example:
            >>> pump.me.lists.create(display_name='Friends', content='List of friends')
            >>> myfriends = pump.me.lists['Friends']
            >>> print(myfriends)
            Friends
        """

        activity = {
            "verb": "create",
            "object": {
                "objectType": "collection",
                "objectTypes": [self.membertype],
                "displayName": display_name,
                "content": content
            }
        }
        if self._post_activity(activity, unserialize=False):
            return self[display_name]