check_relevant: factor out check_relevant and use it in audit-range

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
4 files changed