Quartz: Checking for termination of previous job

HI all, I am using Quartz job scheduler.I have a job which runs every ten seconds. I need to check whether previous job is finished or not. If the previous job is running then it should not start next instance of that job. Please help me in this.