[KFSQA-576] Refactored to provide a generic step for checking if a lookup returned results.
[KFSQA-576] Accidentally removed the @wip tag for the branch. Putting it back in.
[KFSQA-576] J/K.