def METHOD_NAME(self, message):
    hint = ""
    keys = ['resource', 'attachment']
    for key in keys:
        if key in message:
            hint = ("Make sure your input submission provides {}-related "
                    "information.".format(key))
    if hint:
        print("Fail to merge. " + hint)
    else:
        print("Fail to merge.")