code: def create(cls, name, engines, comment=None,
                 validate_policy=True, **kwargs):
          
          json = {
              'resources': [engine.href for engine in engines],
              'name': name,
              'comment': comment}
          
          if validate_policy:
              json.update(policy_validation_settings(**kwargs))
          
          return ElementCreator(cls, json)
docs: Create a refresh policy task associated with specific
          engines. A policy refresh task does not require a policy
          be specified. The policy used in the refresh will be the
          policy already assigned to the engine.
          
          :param str name: name of this task
          :param engines: list of Engines for the task
          :type engines: list(Engine)
          :param str comment: optional comment
          :param bool validate_policy: validate the policy before upload.
              If set to true, validation kwargs can also be provided
              if customization is required, otherwise default validation settings
              are used.
          :param kwargs: see :func:`~policy_validation_settings` for keyword
              arguments and default values.
          :raises ElementNotFound: engine specified does not exist
          :raises CreateElementFailed: failure to create the task
          :return: the task
          :rtype: RefreshPolicyTask