You may sometimes have codes that depends on whether some JetPack modules is active or not. If so, there is a quick way to check if the modules are active or not. Just use following code:
Here are some module names that you might need:
- carousel
- comments
- contact-form
- custom-css
- enhanced-distribution
- gplus-authorship
- gravatar-hovercards
- infinite-scroll
- json-api
- latex
- likes
- markdown
- minileven
- monitor
- notes
- omnisearch
- photon
- post-by-email
- publicize
- related-posts
- sharedaddy
- shortcodes
- shortlinks
- sso
- stats
- subscriptions
- tiled-gallery
- vaultpress
- videopress
- widget-visibility
- widgets