parameters: (self, group)
return_statement: return result
docstring: Filters the list of policies in the passed group that are supported by
      the writer.
  
      Args:
        group: The dictionary of the policy group.
  
      Returns: The list of policies of the policy group that are compatible
        with the writer.
docstring_summary: Filters the list of policies in the passed group that are supported by
      the writer.
docstring_tokens: Filters the list of policies in the passed group that are supported by the writer .
function: def _GetPoliciesForWriter(self, group):
      '''Filters the list of policies in the passed group that are supported by
      the writer.
  
      Args:
        group: The dictionary of the policy group.
  
      Returns: The list of policies of the policy group that are compatible
        with the writer.
      '''
      if not 'policies' in group:
        return []
      result = []
      for policy in group['policies']:
        if self.IsPolicySupported(policy):
          result.append(policy)
      return result
function_tokens: def _GetPoliciesForWriter ( self , group ) : if not 'policies' in group : return [ ] result = [ ] for policy in group [ 'policies' ] : if self . IsPolicySupported ( policy ) : result . append ( policy ) return result