def UserExists(self, user):
    """Test whether a given user exists or not."""
    try:
      self.pwd.getpwnam(user)
      return True
    except __HOLE__:
      return False
dataset/ETHPy150Open GoogleCloudPlatform/compute-image-packages/google-daemon/usr/share/google/google_daemon/accounts.py/Accounts.UserExists