Contao Extension :: Helper functions for selecting user agents