<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_array(array):
 """ Deserialize a new StickerSet from a given dictionary. :return: new StickerSet instance. :rtype: StickerSet """

        if array is None or not array:
            return None
        # end if
        assert_type_or_raise(array, dict, parameter_name="array")
        from pytgbot.api_types.receivable.media import Sticker
        

        data = {}
        data['name'] = u(array.get('name'))
        data['title'] = u(array.get('title'))
        data['contains_masks'] = bool(array.get('contains_masks'))
        data['stickers'] = Sticker.from_array_list(array.get('stickers'), list_level=1)
        data['_raw'] = array
        return StickerSet(**data)