New hybrid method

This commit is contained in:
angelblue05 2018-09-06 03:36:32 -05:00
commit ace50b34dc
279 changed files with 39526 additions and 19994 deletions

View file

@ -0,0 +1,7 @@
def has_attribute(obj, name):
try:
object.__getattribute__(obj, name)
return True
except AttributeError:
return False