def _HasIOSTarget(targets):
 for target_dict in targets.values():
  for config in target_dict['configurations'].values():
   if config.get('xcode_settings', {}).get('IPHONEOS_DEPLOYMENT_TARGET'):
    return True
 return False

def _HasIOSTarget ( targets ) : for target_dict in targets . values ( ) : for config in target_dict [ 'configurations' ] . values ( ) : if config . get ( 'xcode_settings' , { } ) . get ( 'IPHONEOS_DEPLOYMENT_TARGET' ) : return True return False
returns true if any target contains the ios specific key iphoneos_deployment_target .