def checked(self):
        """
        Boolean attribute to get/set the presence of the ``checked``
        attribute.

        You can only use this on checkable input types.
        """
        if not self.checkable:
            raise AttributeError('Not a checkable input type')
        return 'checked' in self.attrib

        Boolean attribute to get/set the presence of the ``checked``
        attribute.

        You can only use this on checkable input types.
        
stackoverflow/venv/lib/python3.6/site-packages/lxml/html/__init__.py