def METHOD_NAME(self):
    from pycroft.model.host import Host
    from pycroft.model.host import Switch
    return Host.q.join(Switch, Host.id == Switch.host_id).filter(Host.room_id==self.id).first() is not None