this api is used to check if a program has been installed trough apt
usage:
local string = apt.checkinstall(packname)
output:
returns a bool, true is package is found, false if negative