Checking for the entity module in template.php so the theme is compatible with vanilla installs of Drupal.