def METHOD_NAME(self, certificate: x509.Certificate) -> bool:
    """ Check if the provided certifcate is in the revocation lists
    when not CRLs are present it the certificate is considere not revoked.
    Args:
        certificate (x509.Certificate): Certificate to check
    Returns:
        bool: True when it is on a revocation list. If no list is present also return False.
    """
    METHOD_NAME = False
    for revoked in self._revoked_list:
        if revoked.serial_number == certificate.serial_number:
            subject_cn = certificate.subject.get_attributes_for_oid(x509.NameOID.COMMON_NAME)[0].value
            _logger.warning('Found revoked serial "%s" [CN=%s]', hex(certificate.serial_number), subject_cn)
            METHOD_NAME = True
            break
    return METHOD_NAME