If you want to do something if it does or doesnt exist you can run the following command against TempDb. It returns NULL if the temp table does not exist and the numeric id if it does.
SELECT object_Id('tempdb..#some_temp_table')