@Override
	public boolean preConditionIsTrue() 
	{
		message = myAgent.receive(mt);
		if(message != null)
		{
			if(message.getContent().equals("A")) {
				brand = Brand.A;
			}
			else {
				brand = Brand.B;
			}
			
			beer = agent.getRefrigerator().getBeer( brand );
			if(beer != null && beer.getState() == BeerState.ICED)
			{
				System.out.println("There is beer ICED in refrigerator to sell.");
				return true;
			}
		}
		
		return false;
	}