check line handle exists