..F....... [ZBX-7399] improved if statement