https://stackoverflow.com/questions/394809/does-python-have-a-ternary-conditional-operator
a if condition else b