code: async def is_owner(self, user):
          
  
          if self.owner_id is None:
              app = await self.application_info()
              self.owner_id = owner_id = app.owner.id
              return user.id == owner_id
          return user.id == self.owner_id
docs: Checks if a :class:`~discord.User` or :class:`~discord.Member` is the owner of
          this bot.
  
          If an :attr:`owner_id` is not set, it is fetched automatically
          through the use of :meth:`~.Bot.application_info`.
  
          Parameters
          -----------
          user: :class:`.abc.User`
              The user to check for.