Given a Python object of any kind, is there an easy way to get the list of all methods that this object has?
Or,
if this is not possible, is there at least an easy way to check if it has a particular method other than simply checking if an error occurs when the method is called?
The simplest method is to use dir(objectname). It will display all the methods available for that object.
Finding what methods a Python object has