I have two tasks in an Airflow DAG like below.
def check_condition(**kwargs): # do something return True # or r