public static boolean isPlate(String plate) {
		
		if(plate.length() == 7)
		{
			char[] charPlate = plate.toCharArray();
			
			for (int i = 0; i < charPlate.length; i++) {
				if(i < 3)
				{
					if(!Character.isLetter(charPlate[i]))
					{
						return false;
					}
				}
				else
				{
					if(i == 3)
					{
						if(charPlate[i] != '-')
						{
							return false;
						}
					}
					else
					{
						if(!Character.isDigit(charPlate[i]))
						{
							return false;
						}
					}
				}
			}
		}
		else
		{
			return false;
		}
		
		return true;
	}