def state_invariant():
    # p => q can be expressed:  not p or q
    return power == 'Off' or door == 'Closed'
Return the most appropriate Response class from an HTTP Content-Type
dataset/ETHPy150Open jon-jacky/PyModel/samples/safety/oven.py/state_invariant--crossover with--dataset/ETHPy150Open scrapy/scrapy/scrapy/responsetypes.py/ResponseTypes.from_content_type