[리팩토링 cheat sheet] 10.2 조건문 통합하기(Consolidate Conditional Expression)
# Before

if employee.seniority < 2:
    return 0

if employee.month_disabled > 12:
    return 0

if employee.is_part_time:
    return 0
# After

if is_not_eligible_for_disability():
    return 0

def is_not_eligible_for_disability():
    return (employee.seniority < 2 
            or employee.month_disabled > 12 
            or employee.is_part_time)