Confirms that a trait is available.
This function is rarely called directly. Instead, it is registered as an spl_autoload() handler, and PHP calls it for us when necessary.
string $trait: The name of the trait to check or load.
bool TRUE if the trait is currently available, FALSE otherwise.
function drupal_autoload_trait($trait) {
return _registry_check_code('trait', $trait);
}