def has_button(self, button):
return (button & self._supported_buttons_mask) != <NUM_LIT:0><EOL>
Returns ``True`` if the controller has the requested button, a value of enumeration :class:`ControllerButtons`.