code: public Activity checkActivityLabel()
  	{
  		boolean active = false;
  		boolean inactive = false;
  
  		for (PhysicalEntity pe : pes)
  		{
  			for (Object o : PE2TERM.getValueFromBean(pe))
  			{
  				String s = (String) o;
  				if (s.contains("inactiv")) inactive = true;
  				else if (s.contains("activ")) active = true;
  			}
  
  			for (String s : pe.getName())
  			{
  				if (s.contains("inactiv")) inactive = true;
  				else if (s.contains("activ")) active = true;
  			}
  		}
  
  		if (active) if (inactive) return Activity.BOTH; else return Activity.ACTIVE;
  		else if (inactive) return Activity.INACTIVE; else return Activity.NONE;
  	}
docs: Checks if the chain has a member with an activity label.
  @return the activity status found