@staticmethod
def is_channel(obj):
    """
        Returns whether the item given is a valid channel (for a mapping key).

        For IRC, this checks if the item's name starts with a "#".

        Other platforms SHOULD redefine this if they track channels by some other format (e.g. numerical IDs).
        """
    return str(obj).startswith('#')
