public boolean getWorkModified(List<TimephasedWork> list)
   {
      boolean result = false;
      for (TimephasedWork assignment : list)
      {
         result = assignment.getModified();
         if (result)
         {
            break;
         }
      }
      return result;
   }
public boolean getWorkModified ( List < TimephasedWork > list ) { boolean result = false ; for ( TimephasedWork assignment : list ) { result = assignment . getModified ( ) ; if ( result ) { break ; } } return result ; }
Test the list of TimephasedWork instances to see
if any of them have been modified.

@param list list of TimephasedWork instances
@return boolean flag