pub fn both_defined(&self) -> bool {
        !self.build_state.is_empty() && !self.request_state.is_empty()
    }
Checks if both request state and build state are defined.
packages/perseus/src/template/states.rs