Check if we’re viewing an event

You can get the post id outside the loop with $wp_query and then feed it to tribe_is_event(). works a treat.

<?php
global $wp_query;
if (tribe_is_event($wp_query->post->ID)) {echo "yup"; } else {echo "nah"; }
?>