add a function to check if a comment is deleted
remove unused import