Test whether you are in a dev Supermodel environment
First add this import to the top of your page:
<%@page import="com.cactuslab.supermodel.Application"%>
Then you can test against the Application.isDevMode() value.
<% if (Application.isDevMode()) { ... } %>