/**
  * Check if a given entity has any pending workflow requests associated with it.
  *
  * @param entity
  * @return
  * @throws InternalWorkflowException
  */
 @Override
 public boolean entityHasPendingWorkflows(Entity entity) throws InternalWorkflowException {
   return requestEntityRelationshipDAO.entityHasPendingWorkflows(entity);
 }