def partial_perms_ok(ctx):
    """
    Returns whether the user can use command on self without full permissions.
    True if user doesn't tag anyone or tags themselves only.
    """
    mentions = ctx.message.mentions
    
    return (len(mentions) == 1 and mentions[0] == ctx.author
            or not bool(mentions))