[Python-ideas] Add a way to test for a descriptor in Python Code