NXP-10359: add check if doc exists - refact