<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create(cls, name, entries=None, comment=None, **kw):
 """ Create an Access List Entry. Depending on the access list type you are creating (IPAccessList, IPv6AccessList, IPPrefixList, IPv6PrefixList, CommunityAccessList, ExtendedCommunityAccessList), entries will define a dict of the valid attributes for that ACL type. Each class has a defined list of attributes documented in it's class. You can optionally leave entries blank and use the :meth:`~add_entry` method after creating the list container. :param str name: name of IP Access List :param list entries: access control entry :param kw: optional keywords that might be necessary to create the ACL (see specific Access Control List documentation for options) :raises CreateElementFailed: cannot create element :return: The access list based on type """

        access_list_entry = []
        if entries:
            for entry in entries:
                access_list_entry.append(
                    {'{}_entry'.format(cls.typeof): entry})

        json = {'name': name,
                'entries': access_list_entry,
                'comment': comment}
        json.update(kw)
        
        return ElementCreator(cls, json)