Object: dw.system.Session

Because you are working in a template, and templates use session as a top-level variable, you can immediately call methods in this class.

Methods Description
getCustomer() : Customer Returns the current customer associated with this storefront session. For a Business Manager session, this method returns null.
isCustomerAuthenticated() : Boolean Identifies if the customer associated with this session is authenticated. This call is equivalent to customerisAuthenticated().

Example:

<isprint value="${session.getCustomer().firstname}"/>