def _HasColorSet(self, gc):
    for n in ['ui', 'diff', 'status']:
      if gc.Has('color.%s' % n):
        return True
    return False
dataset/ETHPy150Open android/tools_repo/subcmds/init.py/Init._HasColorSet/original