def is_auto_instantiated(self):
        triggers = self.template['spec'].get('triggers', [])
        for trigger in triggers:
            if trigger['type'] == 'ImageChange' and \
                    trigger['imageChange']['from']['kind'] == 'ImageStreamTag':
                return True
        return False
Context management protocol.  Calls close()
dataset/ETHPy150Open projectatomic/osbs-client/osbs/build/build_request.py/BuildRequest.is_auto_instantiated--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/_pyio.py/IOBase.__exit__