code: def is_tango_object(arg):
      
      classes = attribute, device_property
      if isinstance(arg, classes):
          return arg
      try:
          return arg.__tango_command__
      except AttributeError:
          return False
docs: Return tango data if the argument is a tango object,
      False otherwise.