components/policy/tools/template_writers/writers/gpo_editor_writer.py
def IsPolicyOnWin7Only(self, policy):
    ''' Returns true if the policy is supported on win7 only.'''
    for suppported_on in policy.get('supported_on', []):
      if 'win7' == suppported_on.get('platform', []):
        return True
    return False
 Returns true if the policy is supported on win7 only.
Returns true if the policy is supported on win7 only.
Returns true if the policy is supported on win7 only .
def IsPolicyOnWin7Only(self, policy):
    for suppported_on in policy.get('supported_on', []):
      if 'win7' == suppported_on.get('platform', []):
        return True
    return False
def IsPolicyOnWin7Only ( self , policy ) : for suppported_on in policy . get ( 'supported_on' , [ ] ) : if 'win7' == suppported_on . get ( 'platform' , [ ] ) : return True return False
Returns true if the policy is supported on win7 only.
Returns true if the policy is supported on win7 only .
''' Returns true if the policy is supported on win7 only.'''
self
policy