return assetMatch(a1,logInvPG.getIsLevel2());
return assetMatch(inv,a1,logInvPG.getIsLevel2());
  public boolean execute(Object o) {    if (o instanceof Inventory) {      // looking for Inventory Assets      Inventory inv = (Inventory)o;      LogisticsInventoryPG logInvPG=null;      logInvPG = (LogisticsInventoryPG)inv.searchForPropertyGroup(LogisticsInventoryPG.class);      if (logInvPG == null)	return false;      Asset a1 = logInvPG.getResource();      if (a1 == null) {	logger.warn("no asset in Inventory in InventoryPredicate");	return false;      }      return assetMatch(a1,logInvPG.getIsLevel2());    }    return false;   }