pridana metoda isDeterministic