def is_security_symbol(dct):
    """
    Helper function for serialization. True if contents
    of dct contains identifier for a SecuritySymbol object.
    """
    return '__security_symbol__' in dct and dct['__security_symbol__']
