Check for valid job