%isopen yields TRUE if its cursor or cursor variable is open; otherwise, %isopen yields FALSE.