def customValidation(self):
    (information, warnings, critical) = ([], [], [])
    if (hasattr(self, 'response') and (self.response == ERROR) and self.errorMessage.isEmpty()):
        critical.append(f".response is '{ERROR}', but .errorMessage is missing.")
    return (information, warnings, critical)
def customValidation(self):
    (information, warnings, critical) = ([], [], [])
    if (hasattr(self, 'response') and (self.response == ERROR) and self.errorMessage.isEmpty()):
        critical.append(f".response is '{ERROR}', but .errorMessage is missing.")
    return (information, warnings, critical)