def valid_inaccessible_region(r):
    return ((r.type is not RegionType.Cave) or ((len(r.exits) > 0) and (r.name not in ['Links House', 'Chris Houlihan Room'])))
def valid_inaccessible_region(r):
    return ((r.type is not RegionType.Cave) or ((len(r.exits) > 0) and (r.name not in ['Links House', 'Chris Houlihan Room'])))