sniff returns custom controller if defined, defineController, hascontroller functions