public static boolean isMemberOf(String playerName, IReinforcement reinforcement)
	{
		if (reinforcement == null || !MachineFactoryPlugin.CITADEL_ENABLED) // All players have access to non-existing reinforcements
			return true;
		
		if (reinforcement instanceof PlayerReinforcement)
		{
			PlayerReinforcement playerReinforcement = (PlayerReinforcement)reinforcement;
			
			boolean isMember = playerReinforcement.getOwner().isMember(playerName);
			boolean isModerator = playerReinforcement.getOwner().isModerator(playerName);
			boolean isFounder = playerReinforcement.getOwner().isFounder(playerName);
			return (isMember || isModerator || isFounder);
		}
		else
		{
			return false;
		}
	}