def isplaceholder(sym):
    """
    Checks whether a symbol in a structure is a placeholder for a representation
    """
    if isinstance(sym, str):
        return sym[0] == "#"
    else:
        return False