[Python-ideas] Add a "hasmethod()" builtin?