Jul-30-2020, 01:13 AM
That's an "f" string, which means anything inside the curly braces is just python code. You can do whatever you want inside the braces, and whatever it returns (in that case, True/False) will be added to the string. It's not a great idea to do complicated stuff in there, but I didn't really want to write more than one line.