def _can_process_application(self, app):
return (self.LOCATION_KEY in app.properties and<EOL>isinstance(app.properties[self.LOCATION_KEY], dict) and<EOL>self.APPLICATION_ID_KEY in app.properties[self.LOCATION_KEY] and<EOL>self.SEMANTIC_VERSION_KEY in app.properties[self.LOCATION_KEY])<EOL>
Determines whether or not the on_before_transform_template event can process this application

:param dict app: the application and its properties