code: def store_sentry(self, username, sentry_bytes):
          
          filepath = self._get_sentry_path(username)
          if filepath:
              try:
                  with open(filepath, 'wb') as f:
                      f.write(sentry_bytes)
                  return True
              except IOError as e:
                  self._LOG.error("store_sentry: %s" % str(e))
  
          return False
docs: Store sentry bytes under a username
  
          :param username: username
          :type username: :class:`str`
          :return: Whenver the operation succeed
          :rtype: :class:`bool`