def is_cron_job_running(cron_job_class, name=None, args=None, kwargs=None):
    """Returns True if cron job is running, False otherwise"""
    from .worker import CronWorker
    worker = CronWorker()
    pid_file = worker.get_pid_file(cron_job_class=cron_job_class, name=name or
        cron_job_class.__name__, args=args or [], kwargs=kwargs or {})
    return worker.pid_file_locked(pid_file, 1)
