What's reason you think it would not work here?
This is normal case just without supplying hash arguments, so we still need to pass required_length parameter and the default value boolean indicator should be True.