in src/ext/guac.py [0:0]
def get_phases(self):
"""
Returns the set of Guacamole protocol phases in which this instruction
is valid, as declared by the "phase" directive option. An instruction
may be valid in multiple phases. If no phase is declared, the
"interactive" phase is assumed by default.
:return set:
The set of Guacamole protocol phases in which this instruction is
valid.
"""
return self.options.get('phase', { 'interactive' })