async def is_owner(self, user):
if self.owner_id is None:<EOL><INDENT>app = await self.application_info()<EOL>self.owner_id = owner_id = app.owner.id<EOL>return user.id == owner_id<EOL><DEDENT>return user.id == self.owner_id<EOL>
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.