@SuppressWarnings("unchecked")
    public <T> T attribute(String name) {
        return (T) session.getAttribute(name);
    }
Returns the object bound with the specified name in this session, or null if no object is bound under the name.

@param name a string specifying the name of the object
@param <T>  The type parameter
@return the object with the specified name
src/main/java/spark/Session.java