Stop device tracking if device is 'home' and it's after 11pm

I’ve currently got template sensors setup like the following:

      bob_presence:
        friendly_name: 'Bob'
        value_template: '{% if is_state("device_tracker.bob_mqtt", "home") or is_state("device_tracker.bob_tile", "home" ) or is_state("device_tracker.bob_iphone_ping", "home" ) %}home{% else %}away{% endif %}'

What I’d like to add is another OR condition where the state of a group of device trackers is home and it’s after 11pm set to home, as it’s unlikely I will be leaving the house after that time. Is this possible?