We don't like to duplicate a form for the "create" and "edit" methods. But how can you then put a value using the old and at the same time using the model attribute value without raising an exception?
Sometimes you want to perform a chunk of code dependent on the environment. This trick makes it easy to check against multiple environments and returns a boolean.