included a certificate label in the is_trusted() method