code: def create(cls, name, master_engines, comment=None):
          
          json = {
              'name': name,
              'comment': comment,
              'resources': [eng.href for eng in master_engines
                            if isinstance(eng, MasterEngine)]}
          
          return ElementCreator(cls, json)
docs: Create a refresh task for master engines. 
          
          :param str name: name of task
          :param master_engines: list of master engines for this task
          :type master_engines: list(MasterEngine)
          :param str comment: optional comment
          :raises CreateElementFailed: failed to create the task
          :return: the task
          :rtype: RefreshMasterEnginePolicyTask