new function to see if diable link is set