def pop_all(aliases, args=(), kwargs={}, default=False):
    """Check if keys in args or kwargs.

    If keys is in args or kwargs, remove it
    and return its value or True,
    else return default.

    Args:
      aliases (any iterable): keys for search
      args (list): list for search
      kwargs (dict): dict for search
      default (any): default value,
        default is False

    Return:
      Value if any key is key for kwargs
      True if any key in args
      default if arg not in args or kwargs

    """
    value = default
    for arg in aliases:
        if arg in args:
            value = True
            args.remove(arg)
        if arg in kwargs:
            value = kwargs[arg]
            del kwargs[arg]
    return value