What happens if the parameter is negative? Could you add a check for that and return false in that case?