@staticmethod
def parse_isupport(args, fallback=''):
    """
        Parses a string of capabilities in the 005 / RPL_ISUPPORT format.
        """
    if isinstance(args, str):
        args = args.split(' ')
    caps = {}
    for cap in args:
        try:
            key, value = cap.split('=', 1)
        except ValueError:
            key = cap
            value = fallback
        caps[key] = value
    return caps
