Computes the compute on the value and returns it if the value is present or just returns default one otherwise.