Refactor: move assert_installed to ci_lib

Signed-off-by: Mate Lakat <mate.lakat@citrix.com>