def checkEmailAvailability(self, email): emails = User.gql("WHERE email=:1", email).get() self.response.out.write(emails != None)