code: def _handle_keypad_message(self, data):
          
  
          msg = Message(data)
  
          if self._internal_address_mask & msg.mask > 0:
              if not self._ignore_message_states:
                  self._update_internal_states(msg)
  
              self.on_message(message=msg)
  
          return msg
docs: Handle keypad messages.
  
          :param data: keypad message to parse
          :type data: string
  
          :returns: :py:class:`~alarmdecoder.messages.Message`