job valid check