What built-in function can you use to check if a given object has a specific attribute/method?Questions & Answers › Category: Python › What built-in function can you use to check if a given object has a specific attribute/method? 0 Vote Up Vote Down Geek Boy Staff asked 2 years ago What built-in function can you use to check if a given object has a specific attribute/method? a. hasattr() b. attr() c. setattr() d. getattr()Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...1 Answers 0 Vote Up Vote Down Geek Boy Staff answered 2 years ago a. hasattr()Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...