fence-agents: master - [cleanup] Simplify 'if' statements to use 'not' and 'get'