This statement will work 

if object_id('tempdb..#mytempTbl') is not null
  drop table #mytempTbl