public static  boolean checkInequality(String str){

        str = str.trim();

        INEQUALITY inequalityType = isInequality(str);

        if(inequalityType == INEQUALITY.EMPTY){
            throw new RuntimeException("this is not inequality in [ ] block!");
        }

        List<String> lexems;

        if(inequalityType == INEQUALITY.EQ){
            lexems = getLexemsSplittedBy(str, "==");
            if(lexems.get(0).trim().equals(lexems.get(1).trim())){
                return true;
            } else {
                return false;
            }
        }

        if(inequalityType == INEQUALITY.NOT_EQ){
            lexems = getLexemsSplittedBy(str, "!=");
            if( ! lexems.get(0).trim().equals(lexems.get(1).trim())){
                return true;
            } else {
                return false;
            }
        }

        if(inequalityType == INEQUALITY.GT){
            lexems = getLexemsSplittedBy(str, ">");
            Pair p = getNumberPairByLexems(lexems);
            if(p == null){
                throw new RuntimeException("you cant compare strings with '>'");
            }
            return p.A > p.B;
        }

        if(inequalityType == INEQUALITY.LT){
            lexems = getLexemsSplittedBy(str, "<");
            Pair p = getNumberPairByLexems(lexems);
            if(p == null){
                throw new RuntimeException("you cant compare strings with '<'");
            }
            return p.A < p.B;
        }

        return false;
    }