code: private void verifyWork(Work work) throws WorkException
     {
        Class<? extends Work> workClass = work.getClass();
        String className = workClass.getName();
  
        if (!validatedWork.contains(className))
        {
  
           if (isWorkMethodSynchronized(workClass, RUN_METHOD_NAME))
              throw new WorkException(bundle.runMethodIsSynchronized(className));
  
           if (isWorkMethodSynchronized(workClass, RELEASE_METHOD_NAME))
              throw new WorkException(bundle.releaseMethodIsSynchronized(className));
  
           validatedWork.add(className);
        }
     }
docs: Verify the given work instance.
  @param work The work
  @throws WorkException Thrown if a spec compliant issue is found