Displaying different content based on custom post type

Plugin: CustomPress

So I would like to know how to display different types of content based on what kind of custom post is loaded.

Say I had a single post in custom post id #2. How would I display certain code?

I would use <?php if (is_single()) { echo 'blah blah'; }; ?> if I was displaying stuff on a regular post type. What would I do if it's a single post on a custom post type?