trait_existsChecks if the trait exists
&reftitle.description;
booltrait_existsstringtraitboolautoload&true;
&reftitle.parameters;
trait
Name of the trait to check
autoload
Whether to autoload
if not already loaded.
&reftitle.returnvalues;
Returns &true; if trait exists, and &false; otherwise.