The LoadableDetachableModel factory method 'of' currently returns a IModel. I propose to return a LoadableDetachableModel<T> so that users can use the isAttached() method.
Querying the state of a LDM is something you typically need to do to ensure proper loading, and prevent excessive detach/load calls. Martijn
