While i am writing if condtion to validate text it is picking only else block

how to write a condition in If- block, whether the data i.e output is present in putty terminal.
i used by scrrenscapping but it is not validating and directly going to else block.
Could anyone please reslove my issue.

can you share screenshot and/or file of your workflow?