def is_in_list(obj, obj_list):
    """
    Check if obj is in obj_list explicitly by id
    Using (obj in obj_list) has false positives if the object overrides its __eq__ operator
    """
    for o in obj_list:
        if(id(o) == id(obj)):
            return(True)
    else:
        return(False)