[Python-ideas] Add check_methods function to standard library