from datetime import datetime


def validate_certificate(cert):
    """
	Function used to validate a given certificate.
	:param cert: The ciphertext to decrypt
	:return: True, if the current timestamp is between the limits of validity of the certificate. False, otherwise.
	"""
    today = datetime.now().timestamp()
    return (
        cert.not_valid_before.timestamp() <= today <= cert.not_valid_after.timestamp()
    )