..F....... [ZBX-8816] refactored if statement