<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_contacts(self, ids=None, **kwargs):
 """ Get all contacts for the current user :param l: string of a folder id :param ids: An coma separated list of contact's ID to look for :returns: a list of zobjects.Contact """

        params = {}
        if ids:
            ids = self._return_comma_list(ids)
            params['cn'] = {'id': ids}

        for key, value in kwargs.items():
            if key in ['a', 'ma']:
                params[key] = {'n': value}
            else:
                params[key] = value

        contacts = self.request_list('GetContacts', params)

        return [zobjects.Contact.from_dict(i) for i in contacts]