Report question

Question: How to check whether an object has certain method/property?