This will check if a link number is valid, i.e between 1 and LinkCount. At the same time LinkLength has be <> 0.
Syntax: CheckLink(link: Integer)