def is_on_cooldown(self, ctx):
if not self._buckets.valid:<EOL><INDENT>return False<EOL><DEDENT>bucket = self._buckets.get_bucket(ctx.message)<EOL>return bucket.get_tokens() == <NUM_LIT:0><EOL>
Checks whether the command is currently on cooldown.

        Parameters
        -----------
        ctx: :class:`.Context.`
            The invocation context to use when checking the commands cooldown status.

        Returns
        --------
        :class:`bool`
            A boolean indicating if the command is on cooldown.