Refactoring Code, condition question

Hello,

I am refactoring my configuration this morning and I’m curious if there is a simpler way to write the following condition template using the standard method? (Everything is working fine - I am just curious if there is a simpler way to achieve the same goal)

  - condition: template
    value_template: '{{ (( as_timestamp( states.input_boolean.away_mode.last_updated ) | int ) + 900 ) < ( as_timestamp( now() ) | int ) }}'

This code checks if my away boolean was last set at least 15 minutes ago (900 seconds).

Is there anyway to rewrite this without using a condition template?