Correcting check of calculateAll method existing