def check_competition_active():
    """
    Is the competition currently running
    """

    return api.config.start_time.timestamp() < datetime.utcnow().timestamp() < api.config.end_time.timestamp()
dataset/ETHPy150Open IceCTF/ctf-platform/api/api/utilities.py/check_competition_active/original