Return boolean instead of exception