def is_stage_validated(stage: dict) ->bool:
    """
    Check if stage has special validation key
    and is validated.
    """
    for key in stage.keys():
        if key == 'validation' and stage['validation']['validation'
            ] == 'valid':
            return True
    return False
