code: def is_displayed(self):
          
          # Only go into this conditional for browsers that don't use the atom themselves
          if self._w3c:
              return self.parent.execute_script(
                  "return (%s).apply(null, arguments);" % isDisplayed_js,
                  self)
          else:
              return self._execute(Command.IS_ELEMENT_DISPLAYED)['value']
docs: Whether the element is visible to a user.